From: Evan Prodromou Date: Wed, 30 Dec 2009 18:56:43 +0000 (-1000) Subject: Add magic formula to keep DB_DataObject from treating location prefs pkey as autoincr... X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=544e884d30618224c317931c031175c0f6319849;p=quix0rs-gnu-social.git Add magic formula to keep DB_DataObject from treating location prefs pkey as autoincrement --- diff --git a/classes/User_location_prefs.php b/classes/User_location_prefs.php index 52cb254bad..bd6029f97c 100644 --- a/classes/User_location_prefs.php +++ b/classes/User_location_prefs.php @@ -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); + } }