From 1d95e0c6daa8c71df5c21c4814b90173d09581eb Mon Sep 17 00:00:00 2001 From: "Michael J. Rubinsky" Date: Sat, 17 Jul 2010 09:59:02 -0400 Subject: [PATCH] remove deprecated file --- horde/services/twitterapi.php | 39 --------------------------------------- 1 file changed, 39 deletions(-) delete mode 100644 horde/services/twitterapi.php diff --git a/horde/services/twitterapi.php b/horde/services/twitterapi.php deleted file mode 100644 index f36ac04a9..000000000 --- a/horde/services/twitterapi.php +++ /dev/null @@ -1,39 +0,0 @@ - - */ - -require_once dirname(__FILE__) . '/../lib/Application.php'; -Horde_Registry::appInit('horde', array('nologintasks' => true)); - -$twitter = new Services_Twitter($_SESSION['horde']['twitterblock']['username'], - $_SESSION['horde']['twitterblock']['password']); - -// Require the actions to be POST only since following them -// could change the user's state. -$action = Horde_Util::getPost('actionID'); - -switch ($action) { -case 'updateStatus': - try { - $result = $twitter->statuses->update(Horde_Util::getPost('statusText')); - Horde::logMessage($result, 'DEBUG'); - $notification->push(_("Status successfully updated."), 'horde.success'); - } catch (Services_Twitter_Exception $e) { - $error = $e->getMessage(); - Horde::logMessage($e, 'ERR'); - $notification->push($error); - } -} - -$notification->notify(); -- 2.11.0