diff options
| author | Max Kremmel <xing@synapse.plus.com> | 2006-12-23 17:53:24 +0000 |
|---|---|---|
| committer | Max Kremmel <xing@synapse.plus.com> | 2006-12-23 17:53:24 +0000 |
| commit | 4bf5cae547e398898d9ba987172333a3b90ad38b (patch) | |
| tree | 7a05c574a90c8a771a75739fb2c3ccaadfb13c48 | |
| parent | f5a096e8d3e6d633c8f5549fd4437179ee80b405 (diff) | |
| download | liberty-4bf5cae547e398898d9ba987172333a3b90ad38b.tar.gz liberty-4bf5cae547e398898d9ba987172333a3b90ad38b.tar.bz2 liberty-4bf5cae547e398898d9ba987172333a3b90ad38b.zip | |
autoactivate depending on treasury status
| -rw-r--r-- | plugins/storage.treasury.php | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/plugins/storage.treasury.php b/plugins/storage.treasury.php index 82b50ef..bf69881 100644 --- a/plugins/storage.treasury.php +++ b/plugins/storage.treasury.php @@ -1,6 +1,6 @@ <?php /** - * @version $Revision: 1.1 $ + * @version $Revision: 1.2 $ * @package liberty * @subpackage plugins_storage */ @@ -12,9 +12,10 @@ define( 'PLUGIN_GUID_TREASURY_FILE', 'treasury' ); $pluginParams = array ( 'load_function' => 'treasury_file_load', - 'description' => 'Allow better us of {attachment} plugin with treasury package.', + 'description' => 'Allow better us of {attachment} plugin with treasury package. If you do not use Treasury, there is no point in activating this plugin.', + 'edit_label' => 'Treasury File', 'plugin_type' => STORAGE_PLUGIN, - 'auto_activate' => TRUE, + 'auto_activate' => $gBitSystem->isPackageActive( 'treasury' ), ); global $gLibertySystem; |
