]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Add magic formula to keep DB_DataObject from treating location prefs pkey as autoincr...
authorEvan Prodromou <evan@status.net>
Wed, 30 Dec 2009 18:56:43 +0000 (08:56 -1000)
committerEvan Prodromou <evan@status.net>
Wed, 30 Dec 2009 18:56:43 +0000 (08:56 -1000)
classes/User_location_prefs.php

index 52cb254badc46f7d7791a1683eebb71c494a2761..bd6029f97cbc374aa09e6735223283ac310e2159 100644 (file)
@@ -45,4 +45,9 @@ class User_location_prefs extends Memcached_DataObject
 
     /* the code above is auto generated do not remove the tag below */
     ###END_AUTOCODE
+
+    function sequenceKey()
+    {
+        return array(false, false, false);
+    }
 }