summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2009-12-02 10:42:49 -0800
committerBharat Mediratta <bharat@menalto.com>2009-12-02 10:42:49 -0800
commit87bc32345f6d7cb64c4009ed68a79776ace7ff1b (patch)
tree1267ab39eaedd0b4fdee8c42e09f2738aa8a1540
parent94411b36585a5bdf6225b8af6ae4ee5c21d5779d (diff)
Use select() instead of select("*")
-rw-r--r--modules/gallery/libraries/drivers/Cache/Database.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/gallery/libraries/drivers/Cache/Database.php b/modules/gallery/libraries/drivers/Cache/Database.php
index 5fa2a72a..5c453f28 100644
--- a/modules/gallery/libraries/drivers/Cache/Database.php
+++ b/modules/gallery/libraries/drivers/Cache/Database.php
@@ -87,7 +87,7 @@ class Cache_Database_Driver extends Cache_Driver {
*/
public function get_tag($tags) {
$db = db::build()
- ->select("*")
+ ->select()
->from("caches");
foreach ($tags as $tag) {
$db->where("tags", "LIKE", "<$tag>");
@@ -120,7 +120,7 @@ class Cache_Database_Driver extends Cache_Driver {
public function get($keys, $single=false) {
$data = null;
$result = db::build()
- ->select("*")
+ ->select()
->from("caches")
->where("key", "IN", $keys)
->execute();