summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvan Prodromou <evan@status.net>2010-01-22 10:46:11 -0500
committerEvan Prodromou <evan@status.net>2010-01-22 10:46:11 -0500
commita3e484a0e898bb94dd45cd7807bea1a931d7c6a9 (patch)
treef779da53acb1c029c8f90605fc2d4b5258fa7670
parent1d64ba6602f7ccd4c049167355445ca3600c28e6 (diff)
Memcached_DataObject unnecessarily require_once'd itself
-rw-r--r--classes/Memcached_DataObject.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/classes/Memcached_DataObject.php b/classes/Memcached_DataObject.php
index 4ecab9db6..6ddef4816 100644
--- a/classes/Memcached_DataObject.php
+++ b/classes/Memcached_DataObject.php
@@ -19,8 +19,6 @@
if (!defined('STATUSNET') && !defined('LACONICA')) { exit(1); }
-require_once INSTALLDIR.'/classes/Memcached_DataObject.php';
-
class Memcached_DataObject extends DB_DataObject
{
/**
@@ -353,7 +351,7 @@ class Memcached_DataObject extends DB_DataObject
unset($_DB_DATAOBJECT['CONNECTIONS'][$index]);
}
}
-
+
$result = parent::_connect();
if ($result && !$exists) {