summaryrefslogtreecommitdiff
path: root/_darcs/pristine/classes/Fave.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@controlyourself.ca>2009-01-08 20:56:09 +0000
committerEvan Prodromou <evan@controlyourself.ca>2009-01-08 20:56:09 +0000
commit07e9e2dc3241eef1b803e655a5273f79cb758806 (patch)
tree0846f3e3cbefd39041e580bffbc7556eb7f45c93 /_darcs/pristine/classes/Fave.php
parente67affdbbcdcaa9f43750389922b802d0b425ddb (diff)
Remove _darcs from git repository
Not sure how or why this got in there.
Diffstat (limited to '_darcs/pristine/classes/Fave.php')
-rw-r--r--_darcs/pristine/classes/Fave.php39
1 files changed, 0 insertions, 39 deletions
diff --git a/_darcs/pristine/classes/Fave.php b/_darcs/pristine/classes/Fave.php
deleted file mode 100644
index 24df5938c..000000000
--- a/_darcs/pristine/classes/Fave.php
+++ /dev/null
@@ -1,39 +0,0 @@
-<?php
-/**
- * Table Definition for fave
- */
-require_once INSTALLDIR.'/classes/Memcached_DataObject.php';
-
-class Fave extends Memcached_DataObject
-{
- ###START_AUTOCODE
- /* the code below is auto generated do not remove the above tag */
-
- public $__table = 'fave'; // table name
- public $notice_id; // int(4) primary_key not_null
- public $user_id; // int(4) primary_key not_null
- public $modified; // timestamp() not_null default_CURRENT_TIMESTAMP
-
- /* Static get */
- function staticGet($k,$v=null)
- { return Memcached_DataObject::staticGet('Fave',$k,$v); }
-
- /* the code above is auto generated do not remove the tag below */
- ###END_AUTOCODE
-
- static function addNew($user, $notice) {
- $fave = new Fave();
- $fave->user_id = $user->id;
- $fave->notice_id = $notice->id;
- if (!$fave->insert()) {
- common_log_db_error($fave, 'INSERT', __FILE__);
- return false;
- }
- return $fave;
- }
-
- function &pkeyGet($kv)
- {
- return Memcached_DataObject::pkeyGet('Fave', $kv);
- }
-}