X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=inc%2Fextensions%2Fext-top10.php;h=0ff4ac4b4463e6aef3a4691bf71fbae378c4ceaf;hb=0dd76819236495cb7cfe97d8152700b895261eea;hp=d8555dbbd8a205a89e811d22be874f7a2fc68b59;hpb=cd7d344ea7007cfa20413acd3e03e50f0ab86d86;p=mailer.git diff --git a/inc/extensions/ext-top10.php b/inc/extensions/ext-top10.php index d8555dbbd8..0ff4ac4b44 100644 --- a/inc/extensions/ext-top10.php +++ b/inc/extensions/ext-top10.php @@ -46,6 +46,9 @@ setThisExtensionVersion('0.1.2'); // Version history array (add more with , '0.0.1' and so on) setExtensionVersionHistory(array('0.0.0', '0.0.1', '0.0.2', '0.0.3', '0.0.4', '0.0.5', '0.0.6', '0.0.7', '0.0.8', '0.0.9', '0.1.0', '0.1.1', '0.1.2')); +// This extension is deprecated +// @TODO Only deprecated when 'ext-ranking' is ready: setExtensionDeprecated('Y'); + switch (getExtensionMode()) { case 'setup': // Do stuff when installation is running // SQL commands to run @@ -144,7 +147,7 @@ switch (getExtensionMode()) { break; default: // Unknown extension mode - reportBug(__FILE__, __LINE__, sprintf("Unknown extension mode %s in extension %s detected.", getExtensionMode(), getCurrentExtensionName())); + reportBug(__FILE__, __LINE__, sprintf('Unknown extension mode %s in extension %s detected.', getExtensionMode(), getCurrentExtensionName())); break; } // END - switch