Skip to content

Commit

Permalink
chore: cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
spmeesseman committed Aug 17, 2019
1 parent 137374e commit df51fb9
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Releases.php
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,10 @@ function schema()

function config() {
return array(
'download_requires_login' => true
'download_requires_login' => true,
'view_threshold_level' => REPORTER,
'download_threshold_level' => UPDATER,
'upload_threshold_level' => DEVELOPER
);
}

Expand Down
1 change: 1 addition & 0 deletions core/constant_api.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<?php

define( 'PLUGINS_RELEASES_UPLOAD_THRESHOLD_LEVEL_DEFAULT', ADMINISTRATOR );
define( 'PLUGINS_RELEASES_DOWNLOAD_THRESHOLD_LEVEL_DEFAULT', UPDATER );
define( 'PLUGINS_RELEASES_VIEW_THRESHOLD_LEVEL_DEFAULT', UPDATER );
define( 'PLUGINS_RELEASES_UPLOAD_METHOD_DEFAULT', DISK );
define( 'PLUGINS_RELEASES_DISK_DIR_DEFAULT', '' );
Expand Down
4 changes: 4 additions & 0 deletions lang/strings_english.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ $s_plugin_Releases_ = '';
$s_plugin_Releases_title = 'Releases';
$s_plugin_Releases_description = 'Release Management by Version';

/* General */

$s_plugin_Releases_download = 'Download';

/* Display page */

$s_plugin_Releases_display_page_title = 'Releases';
Expand Down

0 comments on commit df51fb9

Please sign in to comment.