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
phpcs: Fix WhiteSpace.LanguageConstructSpacing warnings
[lhc/web/wiklou.git]
/
maintenance
/
deleteRevision.php
diff --git
a/maintenance/deleteRevision.php
b/maintenance/deleteRevision.php
index
24fdbe4
..
2641cd8
100644
(file)
--- a/
maintenance/deleteRevision.php
+++ b/
maintenance/deleteRevision.php
@@
-17,11
+17,18
@@
* 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 deletes one or more revisions by moving them
+ * to the archive table.
+ *
+ * @ingroup Maintenance
+ */
class DeleteRevision extends Maintenance {
public function __construct() {
class DeleteRevision extends Maintenance {
public function __construct() {
@@
-78,4
+85,4
@@
class DeleteRevision extends Maintenance {
}
$maintClass = "DeleteRevision";
}
$maintClass = "DeleteRevision";
-require_once
( DO_MAINTENANCE )
;
+require_once
RUN_MAINTENANCE_IF_MAIN
;