summaryrefslogtreecommitdiffstats
path: root/inc/database.inc.php
diff options
context:
space:
mode:
Diffstat (limited to 'inc/database.inc.php')
-rw-r--r--inc/database.inc.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/inc/database.inc.php b/inc/database.inc.php
index 2c535d04..efc330fe 100644
--- a/inc/database.inc.php
+++ b/inc/database.inc.php
@@ -20,7 +20,7 @@ class Database
*/
public static function getExpectedSchemaVersion()
{
- return 8;
+ return 9;
}
public static function needSchemaUpdate()
@@ -47,7 +47,8 @@ class Database
/**
* If you just need the first row of a query you can use this.
- * Will return an associative array, or false if no row matches the query
+ *
+ * @return array|boolean Associative array representing row, or false if no row matches the query
*/
public static function queryFirst($query, $args = array(), $ignoreError = false)
{
@@ -64,6 +65,7 @@ class Database
*
* @param string $query Query to run
* @param array $args Arguments to query
+ * @param boolean $ignoreError Ignore query errors and just return false
* @return int|boolean Number of rows affected, or false on error
*/
public static function exec($query, $args = array(), $ignoreError = false)