diff options
author | Filipp Lepalaan <filipp@mekanisti.fi> | 2009-10-28 22:20:29 +0200 |
---|---|---|
committer | Filipp Lepalaan <filipp@mekanisti.fi> | 2009-10-28 22:20:29 +0200 |
commit | beadd930059012ddc6d055c09932227993305604 (patch) | |
tree | bd89671a5587dd7ed61631c4391244c3fa1bf5b0 /Db.php | |
parent | 3036cdccec95ea8653f4925427a08c60e6233a36 (diff) | |
parent | 4a7a8168743588ac37b81fbfe5e27677a67749ce (diff) | |
download | main-beadd930059012ddc6d055c09932227993305604.tar.gz main-beadd930059012ddc6d055c09932227993305604.tar.bz2 main-beadd930059012ddc6d055c09932227993305604.zip |
Fixed conflicts
Diffstat (limited to 'Db.php')
-rw-r--r-- | Db.php | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -54,7 +54,7 @@ class Db * Execute an SQL query * @return mixed */ - public function query($sql, $data = null) + public static function query($sql, $data = null) { if (!$data) { $data = array(); @@ -104,7 +104,7 @@ class Db } - public function fetch($sql, $data = null) + public static function fetch($sql, $data = null) { $stmt = self::query($sql, $data); return $stmt->fetchAll(PDO::FETCH_ASSOC); |