aboutsummaryrefslogtreecommitdiffstats
path: root/MainDb.php
diff options
context:
space:
mode:
authorFilipp Lepalaan <filipp@mac.com>2011-03-30 16:35:19 +0300
committerFilipp Lepalaan <filipp@mac.com>2011-03-30 16:35:19 +0300
commitf5cb46d5ffa5c46d4b1aa176d9104e8dd67b24ae (patch)
treeda5acaed70c97a00c2efbbc6bd617a840c685864 /MainDb.php
parent914599c7c2a50c8f1439189214184a2a0f402fc8 (diff)
downloadmain-f5cb46d5ffa5c46d4b1aa176d9104e8dd67b24ae.tar.gz
main-f5cb46d5ffa5c46d4b1aa176d9104e8dd67b24ae.tar.bz2
main-f5cb46d5ffa5c46d4b1aa176d9104e8dd67b24ae.zip
better
Diffstat (limited to 'MainDb.php')
-rw-r--r--[-rwxr-xr-x]MainDb.php9
1 files changed, 1 insertions, 8 deletions
diff --git a/MainDb.php b/MainDb.php
index b2ce171..b8c16ce 100755..100644
--- a/MainDb.php
+++ b/MainDb.php
@@ -3,13 +3,6 @@
// main/MainDb.php
// @author Filipp Lepalaan <filipp@mekanisti.fi>
// http://www.php.net/manual/en/language.oop5.patterns.php
-
-/* This program is free software. It comes without any warranty, to
- * the extent permitted by applicable law. You can redistribute it
- * and/or modify it under the terms of the Do What The Fuck You Want
- * To Public License, Version 2, as published by Sam Hocevar. See
- * http://sam.zoy.org/wtfpl/COPYING for more details. */
-
class MainDb
{
private static $instance = NULL;
@@ -110,7 +103,7 @@ class MainDb
return MainApp::error($error);
}
- // DELETE statements should report number of rows
+ // DELETE statements should report number of rows deleted
if (preg_match('/^DELETE/i', $sql)) {
return $stmt->rowCount();
}