From: <var...@us...> - 2011-03-04 16:43:49
|
Revision: 7963 http://phpwiki.svn.sourceforge.net/phpwiki/?rev=7963&view=rev Author: vargenau Date: 2011-03-04 16:43:43 +0000 (Fri, 04 Mar 2011) Log Message: ----------- Remove unused function Modified Paths: -------------- trunk/lib/stdlib.php Modified: trunk/lib/stdlib.php =================================================================== --- trunk/lib/stdlib.php 2011-03-04 16:30:15 UTC (rev 7962) +++ trunk/lib/stdlib.php 2011-03-04 16:43:43 UTC (rev 7963) @@ -150,16 +150,6 @@ } /** - * Returns a name for the WIKI_ID cookie that should be unique on the host. - * But for it to be unique you must have set a unique WIKI_NAME in your - * configuration file. - * @return string The name of the WIKI_ID cookie to use for this wiki. - */ -function GetCookieName() { - return preg_replace("/[^\d\w]/", "_", WIKI_NAME) . "_WIKI_ID"; -} - -/** * Generates a valid URL for a given Wiki pagename. * @param mixed $pagename If a string this will be the name of the Wiki page to link to. * If a WikiDB_Page object function will extract the name to link to. This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |