Changeset 944

Show
Ignore:
Timestamp:
02/25/2008 05:32:23 AM (3 years ago)
Author:
DotMG
Message:

fixes #674

Note: use the @deprecated phpDocumentor directive for deprecated members, and call the replacement function, so as to any plugin making use of the deprecated member will continue to work

Note: deprecated members are kept for backward compatibility with older plugins. Core functions will not call these members, and these members may be totally removed in a future important release (1.2?)

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/libs/Wakka.class.php

    r941 r944  
    25032503        /** 
    25042504         * Get the value of a Cookie. 
    2505          * 
    2506          * @uses        Wakka::GetConfigValue() 
     2505         *  
     2506         * @param string $name Name of the cookie, used in {@link Wakka::SetPersistentCookie()} and {@link Wakka::SetSessionCookie()} 
     2507         * @return mixed value of the cookie, or the boolean FALSE if the cookie is not present. 
     2508         * @uses        Config::$wiki_suffix 
    25072509         */ 
    25082510        function getWikkaCookie($name) 
     
    25182520                } 
    25192521                return $cookie; 
     2522        } 
     2523        /** 
     2524         * @deprecated deprecated since version 1.1.7 
     2525         * @see {@link Wakka::getWikkaCookie()} 
     2526         * @uses        Wakka::getWikkaCookie() 
     2527         */ 
     2528        function GetCookie($name) 
     2529        { 
     2530                return $this->getWikkaCookie($name); 
    25202531        } 
    25212532