Skip to content

Commit 097534a

Browse files
committed
* UNDO: Skip in CLI mode (to prevent hanging of maintenance scripts)
1 parent e695951 commit 097534a

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

Diff for: SemanticDependencyUpdater.php

+1-7
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,7 @@
2020
die( "ERROR: Semantic MediaWiki must be installed for Semantic Dummy Editor to run!" );
2121
}
2222

23-
// Don't run in CLI mode (maintainence scripts)
24-
if (php_sapi_name() == "cli") {
25-
return false;
26-
wfDebugLog('SemanticDependencyUpdater', "[SDU] Skipping in CLI Mode");
27-
}
28-
29-
define( 'SDU_VERSION', '1.0.0' );
23+
define( 'SDU_VERSION', '1.0.2' );
3024

3125
$wgExtensionCredits[defined( 'SEMANTIC_EXTENSION_TYPE' ) ? 'semantic' : 'other'][] = array(
3226
'name' => 'SemanticDependencyUpdater',

0 commit comments

Comments
 (0)