Changeset 91518 in spip-zone


Ignore:
Timestamp:
Aug 28, 2015, 9:36:48 AM (6 years ago)
Author:
marcimat@…
Message:

Notice PHP en moins : lock et unlock n'ont pas de $value ou $ttl.

Location:
_plugins_/memoization
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/memoization/memoization_options.php

    r71370 r91518  
    168168function cache_lock($key) {
    169169        global $Memoization;
    170         return $Memoization->lock($key, $value, $ttl);
     170        return $Memoization->lock($key);
    171171}
    172172
     
    174174function cache_unlock($key) {
    175175        global $Memoization;
    176         return $Memoization->unlock($key, $value, $ttl);
     176        return $Memoization->unlock($key);
    177177}
    178178
  • _plugins_/memoization/paquet.xml

    r90872 r91518  
    22        prefix="Memoization"
    33        categorie="performance"
    4         version="1.5.7"
     4        version="1.5.8"
    55        etat="stable"
    66        compatibilite="[2.0.0;3.1.*]"
Note: See TracChangeset for help on using the changeset viewer.