Add an extension hook for error reporting.
[platal.git] / classes / plcache.php
index c8e3fd3..9558b01 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /***************************************************************************
- *  Copyright (C) 2003-2010 Polytechnique.org                              *
+ *  Copyright (C) 2003-2011 Polytechnique.org                              *
  *  http://opensource.polytechnique.org/                                   *
  *                                                                         *
  *  This program is free software; you can redistribute it and/or modify   *
@@ -474,7 +474,7 @@ class PlMemcacheCache implements PlCacheBackend
         return $this->context->get($key) !== false;
     }
 
-    public function get($key, $type, $callbac, $cbargs, $expire)
+    public function get($key, $type, $callback, $cbargs, $expire)
     {
         $value = $this->context->get($key);
         if ($value === false) {