summaryrefslogtreecommitdiff
path: root/classes/User_location_prefs.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@status.net>2009-12-30 08:56:43 -1000
committerEvan Prodromou <evan@status.net>2009-12-30 08:56:43 -1000
commit544e884d30618224c317931c031175c0f6319849 (patch)
treef10967a3107126cea07584122007935ebc003ae9 /classes/User_location_prefs.php
parent0fb114c34f1ad13683234762002dc9e98e16cc10 (diff)
Add magic formula to keep DB_DataObject from treating location prefs pkey as autoincrement
Diffstat (limited to 'classes/User_location_prefs.php')
-rw-r--r--classes/User_location_prefs.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/classes/User_location_prefs.php b/classes/User_location_prefs.php
index 52cb254ba..bd6029f97 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);
+ }
}