From 07e9e2dc3241eef1b803e655a5273f79cb758806 Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Thu, 8 Jan 2009 20:56:09 +0000 Subject: Remove _darcs from git repository Not sure how or why this got in there. --- _darcs/pristine/lib/facebookutil.php | 40 ------------------------------------ 1 file changed, 40 deletions(-) delete mode 100644 _darcs/pristine/lib/facebookutil.php (limited to '_darcs/pristine/lib/facebookutil.php') diff --git a/_darcs/pristine/lib/facebookutil.php b/_darcs/pristine/lib/facebookutil.php deleted file mode 100644 index fc0e41e5b..000000000 --- a/_darcs/pristine/lib/facebookutil.php +++ /dev/null @@ -1,40 +0,0 @@ -. - */ - -require_once(INSTALLDIR.'/extlib/facebook/facebook.php'); - -// Gets all the notices from users with a Facebook link since a given ID -function get_facebook_notices($since) -{ - $qry = 'SELECT notice.* ' . - 'FROM notice ' . - 'JOIN foreign_link ' . - 'WHERE notice.profile_id = foreign_link.user_id ' . - 'AND foreign_link.service = 2'; - - // XXX: What should the limit be? - return Notice::getStreamDirect($qry, 0, 100, 0, 0, null, $since); -} - -function get_facebook() -{ - $apikey = common_config('facebook', 'apikey'); - $secret = common_config('facebook', 'secret'); - return new Facebook($apikey, $secret); -} -- cgit v1.2.3-54-g00ecf