sample plugin

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

View File

@ -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;
}