From de68691fc36fc975b5100088c7affb839e9860dc Mon Sep 17 00:00:00 2001 From: Matthew Barbour Date: Wed, 7 Aug 2019 15:18:37 -0500 Subject: [PATCH] ExtensionInfo for user config --- ext/user_config/info.php | 21 +++++++++++++++++++++ ext/user_config/main.php | 6 ------ 2 files changed, 21 insertions(+), 6 deletions(-) create mode 100644 ext/user_config/info.php diff --git a/ext/user_config/info.php b/ext/user_config/info.php new file mode 100644 index 00000000..75538a41 --- /dev/null +++ b/ext/user_config/info.php @@ -0,0 +1,21 @@ + + * Description: Provides system-wide support for user-specific settings + * Visibility: admin + */ + +class UserConfigInfo extends ExtensionInfo +{ + public const KEY = "user_config"; + + public $key = self::KEY; + public $name = "User-specific settings"; + public $authors = ["Matthew Barbour"=>"matthew@darkholme.net"]; + public $license = self::LICENSE_WTFPL; + public $description = "Provides system-wide support for user-specific settings"; + public $visibility = self::VISIBLE_ADMIN; + public $core = true; +} diff --git a/ext/user_config/main.php b/ext/user_config/main.php index 7fd24c34..a07b28d1 100644 --- a/ext/user_config/main.php +++ b/ext/user_config/main.php @@ -1,10 +1,4 @@ - * Description: Provides system-wide support for user-specific settings - * Visibility: admin - */ /** @var $user_config Config */ global $user_config;