rename checkGlobalAccess method

This commit is contained in:
Yuri Kuznetsov
2014-04-30 14:04:52 +03:00
parent c9aeecc9f3
commit b5e644ef6f
7 changed files with 8 additions and 13 deletions

View File

@@ -28,7 +28,7 @@ use \Espo\Core\Exceptions\Error,
class FieldManager extends \Espo\Core\Controllers\Base
{
protected function checkGlobalAccess()
protected function checkControllerAccess()
{
if (!$this->getUser()->isAdmin()) {
throw new Forbidden();