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/WhereStaticQueryComponent.php | 39 ---------------------------- 1 file changed, 39 deletions(-) delete mode 100644 engine/classes/WhereStaticQueryComponent.php (limited to 'engine/classes/WhereStaticQueryComponent.php') diff --git a/engine/classes/WhereStaticQueryComponent.php b/engine/classes/WhereStaticQueryComponent.php deleted file mode 100644 index becc587ff..000000000 --- a/engine/classes/WhereStaticQueryComponent.php +++ /dev/null @@ -1,39 +0,0 @@ -link_operator = sanitise_string($link_operator); - $this->left_table = $CONFIG->dbprefix . sanitise_string($left_table); - $this->left_field = sanitise_string($left_field); - $this->operator = sanitise_string($operator); - if (is_numeric($value)) - $this->value = (int)$value; - else - $this->value = "'".sanitise_string($value)."'"; - } - - /** - * Return the SQL without the link operator. - */ - public function toStringNoLink() - { - return "{$this->left_table }.{$this->left_field} {$this->operator} {$this->value}"; - } -} -- cgit v1.2.3