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 "rdbms: refactored code into separate Database::getClass method"
[lhc/web/wiklou.git]
/
maintenance
/
fetchText.php
diff --git
a/maintenance/fetchText.php
b/maintenance/fetchText.php
index
9dee6e5
..
bc4fa31
100644
(file)
--- a/
maintenance/fetchText.php
+++ b/
maintenance/fetchText.php
@@
-24,6
+24,8
@@
require_once __DIR__ . '/Maintenance.php';
require_once __DIR__ . '/Maintenance.php';
+use Wikimedia\Rdbms\IDatabase;
+
/**
* Maintenance script used to fetch page text in a subprocess.
*
/**
* Maintenance script used to fetch page text in a subprocess.
*
@@
-71,7
+73,7
@@
class FetchText extends Maintenance {
/**
* May throw a database error if, say, the server dies during query.
/**
* May throw a database error if, say, the server dies during query.
- * @param Database $db
+ * @param
I
Database $db
* @param int $id The old_id
* @return string
*/
* @param int $id The old_id
* @return string
*/
@@
-90,5
+92,5
@@
class FetchText extends Maintenance {
}
}
}
}
-$maintClass =
"FetchText"
;
+$maintClass =
FetchText::class
;
require_once RUN_MAINTENANCE_IF_MAIN;
require_once RUN_MAINTENANCE_IF_MAIN;