Changeset 3874:ab8368569446 for inc/core/class.dc.plugins.php
- Timestamp:
- 09/14/18 12:16:17 (7 years ago)
- Branch:
- default
- File:
-
- 1 edited
-
inc/core/class.dc.plugins.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
inc/core/class.dc.plugins.php
r3731 r3874 39 39 @param properties <b>array</b> extra properties (currently available keys : permissions, priority, standalone_config, type) 40 40 */ 41 public function registerModule($name, $desc, $author, $version, $properties = array())41 public function registerModule($name, $desc, $author, $version, $properties = []) 42 42 { 43 43 # Fallback to legacy registerModule parameters 44 44 if (!is_array($properties)) { 45 45 $args = func_get_args(); 46 $properties = array();46 $properties = []; 47 47 if (isset($args[4])) { 48 48 $properties['permissions'] = $args[4];
Note: See TracChangeset
for help on using the changeset viewer.
