From 3079a87fa26e1dd33834a1feba78b39f175fa7d0 Mon Sep 17 00:00:00 2001 From: Max Kremmel Date: Sun, 18 Jun 2006 07:58:13 +0000 Subject: remove cant --- Pigeonholes.php | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) (limited to 'Pigeonholes.php') diff --git a/Pigeonholes.php b/Pigeonholes.php index 7b3fc68..78275fe 100644 --- a/Pigeonholes.php +++ b/Pigeonholes.php @@ -1,6 +1,6 @@ - * @version $Revision: 1.64 $ + * @version $Revision: 1.65 $ * @package pigeonholes */ @@ -165,7 +165,6 @@ class Pigeonholes extends LibertyContent { **/ function getAssignableContent( &$pListHash ) { global $gBitUser, $gLibertySystem, $gBitSystem; - LibertyContent::prepGetList( $pListHash ); $where = ''; $bindVars = array(); @@ -227,14 +226,6 @@ class Pigeonholes extends LibertyContent { } } - $query = "SELECT COUNT( lc.`content_id` ) - FROM `".BIT_DB_PREFIX."liberty_content` lc - LEFT JOIN `".BIT_DB_PREFIX."pigeonhole_members` pigm ON ( pigm.`content_id` = lc.`content_id` ) - LEFT JOIN `".BIT_DB_PREFIX."users_users` uu ON ( uu.`user_id` = lc.`user_id` ) - $where"; - $pListHash['cant'] = $this->mDb->getOne( $query, $bindVars ); - - LibertyContent::postGetList( $pListHash ); return( !empty( $ret ) ? $ret : NULL ); } -- cgit v1.3