From: Evan Prodromou Date: Fri, 22 Jan 2010 15:46:11 +0000 (-0500) Subject: Memcached_DataObject unnecessarily require_once'd itself X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=a3e484a0e898bb94dd45cd7807bea1a931d7c6a9;p=quix0rs-gnu-social.git Memcached_DataObject unnecessarily require_once'd itself --- diff --git a/classes/Memcached_DataObject.php b/classes/Memcached_DataObject.php index 4ecab9db62..6ddef48160 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) {