Skip to content

Commit

Permalink
Cosmetic update
Browse files Browse the repository at this point in the history
  • Loading branch information
mystralkk committed Aug 16, 2019
1 parent 388295c commit 5eeeac1
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions system/classes/language.class.php
Expand Up @@ -42,8 +42,8 @@ class Language
/**
* Apply overrides to the given language arrays
*
* @param array $varNames
* This method should be called just after you have included a language file
*
* @param array $varNames
*/
public static function override(array $varNames)
Expand Down Expand Up @@ -166,13 +166,7 @@ public static function adminShowEditor(array $A = array())
}

$isNew = ($id === 0);

if ($isNew) {
$deleteOption = '';
$allow_delete = false;
} else {
$allow_delete = true;
}
$allow_delete = !$isNew;

$token = SEC_createToken(self::SEC_TOKEN_LIFESPAN);
$content = COM_startBlock(
Expand Down

0 comments on commit 5eeeac1

Please sign in to comment.