sample plugin

This commit is contained in:
Steffen Schröder committed 2014-05-19 16:02:51 +02:00
1 parent 6fbeab1cd6
commit 1fd4162a9e
3 files changed
+86 -1

No files matched your search

+1 -1
View File
@@ -41,7 +41,7 @@ interface Plugin {
/**
* Get Plugin Version
*
* @return float
* @return string
*/
public static function getVersion();
@@ -109,6 +109,9 @@ class PluginManager {
if (!in_array(Plugin::PLUGIN_INTERFACE, $interfaces)) {
return false;
}
if (ManiaControl::DEV_MODE && $pluginClass === 'MCTeam\\SamplePlugin') {
return false;
}
return true;
}