Skip to content

Commit

Permalink
PluginsAdminService (#2839)
Browse files Browse the repository at this point in the history
  • Loading branch information
nghiem-mb authored Nov 1, 2023
1 parent 827848d commit 492ccd3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugins/baser-core/src/Service/Admin/PluginsAdminService.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@
namespace BaserCore\Service\Admin;

use BaserCore\Service\PluginsService;
use BaserCore\Utility\BcFile;
use BaserCore\Utility\BcUtil;
use Cake\Core\Configure;
use Cake\Core\Plugin as CakePlugin;
use Cake\Datasource\EntityInterface;
use Cake\Filesystem\File;
use BaserCore\Annotation\NoTodo;
use BaserCore\Annotation\Checked;
use BaserCore\Annotation\UnitTest;
Expand Down Expand Up @@ -159,7 +159,7 @@ public function getUpdateLog()
$updateLogFile = LOGS . 'update.log';
$updateLog = '';
if (file_exists($updateLogFile)) {
$File = new File($updateLogFile);
$File = new BcFile($updateLogFile);
$updateLog = $File->read();
}
return $updateLog;
Expand Down

0 comments on commit 492ccd3

Please sign in to comment.