Skip to content

Commit

Permalink
modified: _01_cache_cookie_session_crypt.php
Browse files Browse the repository at this point in the history
	modified:   ../../updates/version.yaml
  • Loading branch information
Helmut Kaufmann committed Aug 28, 2022
1 parent 42e2450 commit e9ab5f6
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 11 deletions.
11 changes: 0 additions & 11 deletions twig/functions/_01_cache_cookie_session_crypt.php
Original file line number Diff line number Diff line change
@@ -1,21 +1,10 @@
<?php


class myCache {

public function __call($method, $args) {
return call_user_func_array(array("Cache", $method), $args);
}
}

$functions += [

//
// CACHE
//
'myCache' => function () {
return new myCache();
},
'cacheAdd' => function ($key, $value, $seconds=3600) {
return Cache::add($key, $value, $seconds);
},
Expand Down
1 change: 1 addition & 0 deletions updates/version.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,4 @@
1.1.001: Replace require by require_once when including functions and filters
1.1.002: Updated README, syncing release numbers
1.2.001: Initial commit in support of Winter 1.2
1.2.005: Commit for Winter 1.2 and communicated on Discord

0 comments on commit e9ab5f6

Please sign in to comment.