Ignore:
Timestamp:
Feb 27, 2013, 11:37:58 AM (7 years ago)
Author:
guy.cesaro@…
Message:

Compatibilite PHP 5.4 (pour eviter le Non-static method MCache::methode should not be called statically in ...)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/memoization/inc/memoization.php

    r70164 r70233  
    3333        }
    3434
    35         function methode($methode = null) {
     35        static function methode($methode = null) {
    3636                if (!$methode) {
    3737                        $methodes = array('apc', 'xcache', 'eaccelerator', 'filecache', 'nocache');
Note: See TracChangeset for help on using the changeset viewer.