Skip to content

Commit

Permalink
Merge 1de1379 into 5622a31
Browse files Browse the repository at this point in the history
  • Loading branch information
kghbln committed Jan 18, 2019
2 parents 5622a31 + 1de1379 commit 4985e83
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions maintenance/populateHashField.php
Expand Up @@ -44,7 +44,7 @@ class PopulateHashField extends \Maintenance {
* @since 3.1
*/
public function __construct() {
$this->mDescription = 'Populate the `smw_hash` field for all entities that have a missing entry.';
$this->mDescription = "Populate the 'smw_hash' field for all entities that have a missing entry.";
parent::__construct();
}

Expand All @@ -56,7 +56,7 @@ public function __construct() {
public function setComplete( $incomplete ) {

$this->reportMessage(
" ... writing the upgrade file ... \n"
" ... writing the status to the setup information file ... \n"
);

Installer::setUpgradeFile(
Expand Down Expand Up @@ -105,15 +105,15 @@ public function reportMessage( $message ) {
public function execute() {

if ( !Setup::isEnabled() ) {
$this->reportMessage( "\nYou need to have SMW enabled in order to run the maintenance script!\n" );
$this->reportMessage( "\nYou need to have Semantic MediaWiki enabled in order to run the maintenance script!\n" );
exit;
}

$this->store = ApplicationFactory::getInstance()->getStore(
'SMW\SQLStore\SQLStore'
);

$this->reportMessage( "\nChecking smw_hash field consistency ...\n" );
$this->reportMessage( "\nChecking 'smw_hash' field consistency ...\n" );
$this->populate();

$this->reportMessage( " ... done.\n" );
Expand Down

0 comments on commit 4985e83

Please sign in to comment.