diff --git a/application/Espo/Controllers/ScheduledJob.php b/application/Espo/Controllers/ScheduledJob.php index 495cf33f27..e3b565b02d 100644 --- a/application/Espo/Controllers/ScheduledJob.php +++ b/application/Espo/Controllers/ScheduledJob.php @@ -25,10 +25,12 @@ * * In accordance with Section 7(b) of the GNU General Public License version 3, * these Appropriate Legal Notices must retain the display of the "EspoCRM" word. - ************************************************************************/ + ************************************************************************/ namespace Espo\Controllers; +use Espo\Core\Exceptions\Forbidden; + class ScheduledJob extends \Espo\Core\Controllers\Record { protected function checkControllerAccess() diff --git a/application/Espo/Controllers/ScheduledJobLogRecord.php b/application/Espo/Controllers/ScheduledJobLogRecord.php index 18177759bc..fca7534fbd 100644 --- a/application/Espo/Controllers/ScheduledJobLogRecord.php +++ b/application/Espo/Controllers/ScheduledJobLogRecord.php @@ -25,10 +25,12 @@ * * In accordance with Section 7(b) of the GNU General Public License version 3, * these Appropriate Legal Notices must retain the display of the "EspoCRM" word. - ************************************************************************/ + ************************************************************************/ namespace Espo\Controllers; +use Espo\Core\Exceptions\Forbidden; + class ScheduledJobLogRecord extends \Espo\Core\Controllers\Record { protected function checkControllerAccess() @@ -38,4 +40,3 @@ class ScheduledJobLogRecord extends \Espo\Core\Controllers\Record } } } - diff --git a/application/Espo/Controllers/Settings.php b/application/Espo/Controllers/Settings.php index 0e4f6a2f49..56fdb1f326 100644 --- a/application/Espo/Controllers/Settings.php +++ b/application/Espo/Controllers/Settings.php @@ -29,13 +29,11 @@ namespace Espo\Controllers; -use \Espo\Core\Exceptions\Error; -use \Espo\Core\Exceptions\Forbidden; -use \Espo\Core\Exceptions\BadRequest; +use Espo\Core\Exceptions\Forbidden; +use Espo\Core\Exceptions\BadRequest; class Settings extends \Espo\Core\Controllers\Base { - protected function getConfigData() { $data = $this->getServiceFactory()->create('Settings')->getConfigData();