[ticket/416] Only allow adding module more than once on proper modules

B3P-416
This commit is contained in:
Marc Alexander
2014-12-02 17:50:23 +01:00
parent 4bfd4212f4
commit 7dabf61f6b
8 changed files with 54 additions and 7 deletions

View File

@@ -41,6 +41,9 @@ class announcements extends module_base
*/
public $language = 'portal_announcements_module';
/** @var bool Can include this module multiple times */
protected $multiple_includes = true;
/** @var \phpbb\auth\auth */
protected $auth;