Merge pull request #7538 from JakubOnderka/js-helper

chg: [internal] Remove JS helper from controllers
pull/7596/head
Jakub Onderka 2021-07-21 10:40:11 +02:00 committed by GitHub
commit 71bb08bf6a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
8 changed files with 0 additions and 16 deletions

View File

@ -18,8 +18,6 @@ class AttributesController extends AppController
'order' => 'Attribute.event_id DESC'
);
public $helpers = array('Js' => array('Jquery'));
public function beforeFilter()
{
parent::beforeFilter();

View File

@ -53,8 +53,6 @@ class EventsController extends AppController
'galaxyAttachedAttributes' => ''
);
public $helpers = array('Js' => array('Jquery'));
public $paginationFunctions = array('index', 'proposalEventIndex');
public function beforeFilter()

View File

@ -228,8 +228,6 @@ class LogsController extends AppController
$this->set('mayModify', $mayModify);
}
public $helpers = array('Js' => array('Jquery'), 'Highlight');
public function admin_search($new = false)
{
$orgRestriction = null;

View File

@ -14,8 +14,6 @@ class PostsController extends AppController
'RequestHandler'
);
public $helpers = array('Js' => array('Jquery'));
public $paginate = array(
'limit' => 60,
);

View File

@ -15,8 +15,6 @@ class RolesController extends AppController
'RequestHandler'
);
public $helpers = array('Js' => array('Jquery'));
public $paginate = array(
'limit' => 60,
'order' => array(

View File

@ -16,8 +16,6 @@ class ShadowAttributesController extends AppController
'maxLimit' => 9999,
);
public $helpers = array('Js' => array('Jquery'));
public function beforeFilter()
{
parent::beforeFilter();

View File

@ -12,8 +12,6 @@ class ThreadsController extends AppController
'Session',
);
public $helpers = array('Js' => array('Jquery'));
public $paginate = array(
'limit' => 60,
);

View File

@ -26,8 +26,6 @@ class UsersController extends AppController
)
);
public $helpers = array('Js' => array('Jquery'));
public $toggleableFields = ['disabled', 'autoalert'];
public function beforeFilter()