aboutsummaryrefslogtreecommitdiffstats
path: root/lib/pinq/Cache.php
diff options
context:
space:
mode:
authorMarek Laane <bald@smail.ee>2014-10-12 10:54:11 +0300
committerMarek Laane <bald@smail.ee>2014-10-12 10:54:11 +0300
commita0b2d09125d7911656fe4cb286f20643c4432281 (patch)
tree4b825dc642cb6eb9a060e54bf8d69288fbee4904 /lib/pinq/Cache.php
parente32d8242187534c387106ff344201c42ff6afb44 (diff)
downloadwww-a0b2d09125d7911656fe4cb286f20643c4432281.tar
www-a0b2d09125d7911656fe4cb286f20643c4432281.tar.gz
www-a0b2d09125d7911656fe4cb286f20643c4432281.tar.bz2
www-a0b2d09125d7911656fe4cb286f20643c4432281.tar.xz
www-a0b2d09125d7911656fe4cb286f20643c4432281.zip
Updated Estonian translation
Diffstat (limited to 'lib/pinq/Cache.php')
-rw-r--r--lib/pinq/Cache.php55
1 files changed, 0 insertions, 55 deletions
diff --git a/lib/pinq/Cache.php b/lib/pinq/Cache.php
deleted file mode 100644
index 8a5a3d4d1..000000000
--- a/lib/pinq/Cache.php
+++ /dev/null
@@ -1,55 +0,0 @@
-<?php
-/**
- *
- * PHP version 5.4
- *
- * @category Mageia
- * @package Mageia\Web\www\Pinq
- * @author rda <rda@mageia.org>
- * @link http://www.mageia.org/
- *
- * @license http://www.gnu.org/licenses/gpl-2.0.html GNU GPL v2+
- *
- * This program is free software; you can redistribute it and/or modify it
- * under the terms of the GNU General Public License aspublished by the
- * Free Software Foundation; either version 2 of the License, or (at your
- * option) any later version.
-*/
-
-abstract class Pinq_Cache
-{
- abstract public function __construct();
-
- /**
- * @param string $key
- *
- * @return mixed
- */
- abstract public function get($key);
-
- /**
- * @param mixed $value
- * @param string $key
- * @param integer $timeout
- */
- abstract public function set($value, $key, $timeout = 0);
-}
-
-class Pinq_Memcache_Cache extends Pinq_Cache
-{
-
- public function __construct($timeout = 0)
- {
- $this->timeout = $timeout;
- }
-
- public function get($key)
- {
-
- }
-
- public function set($value, $key, $timeout = 0)
- {
- $timeout = $timeout > 0 ? $timeout : $this->timeout;
- }
-} \ No newline at end of file