X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=maintenance%2Fsqlite.inc;h=16568ac7154aebc88c425f636bc4213834e1ccfe;hb=2926b29da3038cc4b2b7da7e4c83d6429bbf05a0;hp=1f821917c1b63770853184aaec1a3ae4060e956d;hpb=9f5d06527c649911ba4dcbe1c42df728d76faabe;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/sqlite.inc b/maintenance/sqlite.inc index 1f821917c1..16568ac715 100644 --- a/maintenance/sqlite.inc +++ b/maintenance/sqlite.inc @@ -23,6 +23,8 @@ /** * This class contains code common to different SQLite-related maintenance scripts + * + * @ingroup Maintenance */ class Sqlite { @@ -41,6 +43,8 @@ class Sqlite { * Checks given files for correctness of SQL syntax. MySQL DDL will be converted to * SQLite-compatible during processing. * Will throw exceptions on SQL errors + * @param $files + * @throws MWException * @return mixed true if no error or error string in case of errors */ public static function checkSqlSyntax( $files ) { @@ -85,4 +89,4 @@ class Sqlite { $db->close(); return true; } - }; \ No newline at end of file + };