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
@@ -24,7 +24,7 @@ namespace Espo\Modules\Crm\Controllers;
class InboundEmail extends \Espo\Core\Controllers\Record
{
protected function checkGlobalAccess()
protected function checkControllerAccess()
{
if (!$this->getUser()->isAdmin()) {
throw new Forbidden();