diff options
| author | Lester Caine <lester@lsces.co.uk> | 2026-05-14 09:52:56 +0100 |
|---|---|---|
| committer | Lester Caine <lester@lsces.co.uk> | 2026-05-14 09:52:56 +0100 |
| commit | 59f4b840506330fd044b0c8e583a428209ab533f (patch) | |
| tree | ead62e12adc402b29bee3c3733924b4c33d2299b /admin | |
| parent | 0aa24a7f24b573fd3f19cb888dfefcdc31ae6b82 (diff) | |
| download | tags-59f4b840506330fd044b0c8e583a428209ab533f.tar.gz tags-59f4b840506330fd044b0c8e583a428209ab533f.tar.bz2 tags-59f4b840506330fd044b0c8e583a428209ab533f.zip | |
php-cs-fixer tidies to php8.5 standards
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'admin')
| -rw-r--r-- | admin/schema_inc.php | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/admin/schema_inc.php b/admin/schema_inc.php index 8b63aa6..7ec0d5e 100644 --- a/admin/schema_inc.php +++ b/admin/schema_inc.php @@ -13,7 +13,7 @@ $tables = [ CONSTRAINT ', CONSTRAINT `tags_content_map_tag_ref` FOREIGN KEY (`tag_id`) REFERENCES `".BIT_DB_PREFIX."tags` ( `tag_id` ) , CONSTRAINT `tags_content_map_content_ref` FOREIGN KEY (`content_id`) REFERENCES `".BIT_DB_PREFIX."liberty_content` ( `content_id` ) , CONSTRAINT `tags_content_map_tagger_id_ref` FOREIGN KEY (`tagger_id`) REFERENCES `".BIT_DB_PREFIX."users_users` ( `user_id` )' - " + ", ]; global $gBitInstaller; @@ -27,9 +27,8 @@ $gBitInstaller->registerPackageInfo( TAGS_PKG_NAME, [ 'license' => '<a href="http://www.gnu.org/licenses/licenses.html#LGPL">LGPL</a>', ] ); - $gBitInstaller->registerPreferences( TAGS_PKG_NAME, [ - [ TAGS_PKG_NAME, 'tags_in_view', 'y' ], + [ TAGS_PKG_NAME, 'tags_in_view', 'y' ], [ TAGS_PKG_NAME, 'tags_list_title', 'y' ], [ TAGS_PKG_NAME, 'tags_list_type', 'y' ], [ TAGS_PKG_NAME, 'tags_list_author', 'y' ], @@ -42,7 +41,6 @@ $sequences = [ ]; $gBitInstaller->registerSchemaSequences( TAGS_PKG_NAME, $sequences ); - // ### Default UserPermissions $gBitInstaller->registerUserPermissions( TAGS_PKG_NAME, [ [ 'p_tags_admin', 'Can admin tags', 'admin', TAGS_PKG_NAME ], @@ -53,5 +51,5 @@ $gBitInstaller->registerUserPermissions( TAGS_PKG_NAME, [ // Requirements $gBitInstaller->registerRequirements( TAGS_PKG_NAME, [ - 'liberty' => [ 'min' => '5.0.0' ], + 'liberty' => [ 'min' => '5.0.0' ], ] ); |
