Changeset 70233 in spip-zone


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

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

Location:
_plugins_/memoization
Files:
2 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');
  • _plugins_/memoization/plugin.xml

    r70164 r70233  
    99        <auteur>Fil</auteur>
    1010        <licence>&#169; 2009-2011 - GNU/LGPL - MIT</licence>
    11         <version>1.3.0</version>
     11        <version>1.3.1</version>
    1212        <etat>stable</etat>
    1313        <description>
Note: See TracChangeset for help on using the changeset viewer.