Skip to content

Commit

Permalink
replace $restoreDefaults with $disable.
Browse files Browse the repository at this point in the history
Co-authored-by: kenjis <[email protected]>
  • Loading branch information
warcooft and kenjis authored Jul 29, 2024
1 parent 01d1e11 commit b8e5ef2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion system/Commands/Utilities/Optimize.php
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ public function run(array $params)
// Parse options
$enableConfigCache = CLI::getOption('c');
$enableLocatorCache = CLI::getOption('l');
$restoreDefaults = CLI::getOption('r');
$disable = CLI::getOption('d');

try {
$this->enableCaching($enableConfigCache, $enableLocatorCache, $restoreDefaults);
Expand Down

0 comments on commit b8e5ef2

Please sign in to comment.