From ce16e90e8792f69f4b733a044280e0f38d651bb2 Mon Sep 17 00:00:00 2001 From: brettp Date: Mon, 25 Oct 2010 14:25:57 +0000 Subject: Closes #2511. Query object classes removed. git-svn-id: http://code.elgg.org/elgg/trunk@7119 36083f99-b078-4883-b0ff-0f9b5a30f544 --- engine/classes/WhereSetQueryComponent.php | 40 ------------------------------- 1 file changed, 40 deletions(-) delete mode 100644 engine/classes/WhereSetQueryComponent.php (limited to 'engine/classes/WhereSetQueryComponent.php') diff --git a/engine/classes/WhereSetQueryComponent.php b/engine/classes/WhereSetQueryComponent.php deleted file mode 100644 index e476d9b43..000000000 --- a/engine/classes/WhereSetQueryComponent.php +++ /dev/null @@ -1,40 +0,0 @@ -link_operator = sanitise_string($link_operator); - $this->wheres = $wheres; - } - - public function toStringNoLink() - { - $cnt = 0; - $string = " ("; - foreach ($this->wheres as $where) { - if (!($where instanceof WhereQueryComponent)) - throw new DatabaseException(elgg_echo('DatabaseException:WhereSetNonQuery')); - - if (!$cnt) - $string.= $where->toStringNoLink(); - else - $string.=" $where "; - - $cnt ++; - } - $string .= ")"; - - return $string; - } -} -- cgit v1.2.3