]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - classes/Status_network.php
Merge commit 'refs/merge-requests/43' of https://gitorious.org/social/mainline into...
[quix0rs-gnu-social.git] / classes / Status_network.php
index eb9bd69e1f94f1db07fbf3e89c88c1d8ede5b0f9..ffbf9d5a3c0efd0c9c708739aff459a9702bc117 100644 (file)
@@ -113,7 +113,7 @@ class Status_network extends Safe_DataObject
     }
 
     static function cacheKey($k, $v) {
-        return 'statusnet:' . self::$base . ':status_network:'.$k.':'.$v;
+        return 'gnusocial:' . self::$base . ':status_network:'.$k.':'.$v;
     }
 
     static function memGet($k, $v)
@@ -147,12 +147,12 @@ class Status_network extends Safe_DataObject
         }
     }
 
-    function update($orig=null)
+    function update($dataObject=false)
     {
-        if (is_object($orig)) {
-            $orig->decache(); # might be different keys
+        if (is_object($dataObject)) {
+            $dataObject->decache(); # might be different keys
         }
-        return parent::update($orig);
+        return parent::update($dataObject);
     }
 
     /**
@@ -183,10 +183,10 @@ class Status_network extends Safe_DataObject
         return $result;
     }
 
-    function delete()
+    function delete($useWhere=false)
     {
         $this->decache(); # while we still have the values!
-        return parent::delete();
+        return parent::delete($useWhere);
     }
 
     /**