Stephen Ficklin 6 سال پیش
والد
کامیت
357db9b91b
1فایلهای تغییر یافته به همراه0 افزوده شده و 7 حذف شده
  1. 0 7
      tripal/includes/TripalFieldQuery.inc

+ 0 - 7
tripal/includes/TripalFieldQuery.inc

@@ -120,13 +120,6 @@ class TripalFieldQuery extends EntityFieldQuery {
       $results = $this->_intersectResults($results, $st_results);
     }
 
-    // If this is a count query then it should return a numeric value.
-    if ($this->count) {
-      if (!$results or !is_array($results)) {
-        return 0;
-      }
-      return count($results['TripalEntity']);
-    }
     return $results;
   }