dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge "Fix documentation of wfDebugLog()"
[lhc/web/wiklou.git]
/
maintenance
/
sqlite.php
diff --git
a/maintenance/sqlite.php
b/maintenance/sqlite.php
index
dc8a430
..
8a78524
100644
(file)
--- a/
maintenance/sqlite.php
+++ b/
maintenance/sqlite.php
@@
-1,6
+1,6
@@
<?php
/**
<?php
/**
- * Performs some operations specific to SQLite database backend
+ * Performs some operations specific to SQLite database backend
.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@
-17,11
+17,17
@@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
* http://www.gnu.org/copyleft/gpl.html
*
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
* http://www.gnu.org/copyleft/gpl.html
*
+ * @file
* @ingroup Maintenance
*/
* @ingroup Maintenance
*/
-require_once
( dirname( __FILE__ ) . '/Maintenance.php' )
;
+require_once
__DIR__ . '/Maintenance.php'
;
+/**
+ * Maintenance script that performs some operations specific to SQLite database backend.
+ *
+ * @ingroup Maintenance
+ */
class SqliteMaintenance extends Maintenance {
public function __construct() {
parent::__construct();
class SqliteMaintenance extends Maintenance {
public function __construct() {
parent::__construct();
@@
-35,6
+41,8
@@
class SqliteMaintenance extends Maintenance {
/**
* While we use database connection, this simple lie prevents useless --dbpass and
* --dbuser options from appearing in help message for this script.
/**
* While we use database connection, this simple lie prevents useless --dbpass and
* --dbuser options from appearing in help message for this script.
+ *
+ * @return int DB constant
*/
public function getDbType() {
return Maintenance::DB_NONE;
*/
public function getDbType() {
return Maintenance::DB_NONE;
@@
-129,4
+137,4
@@
class SqliteMaintenance extends Maintenance {
}
$maintClass = "SqliteMaintenance";
}
$maintClass = "SqliteMaintenance";
-require_once( RUN_MAINTENANCE_IF_MAIN );
\ No newline at end of file
+require_once RUN_MAINTENANCE_IF_MAIN;