Decoupled fields and conditions from admin view as explained in gh-136. Added new admin_fields and admin_fields_conditions tables and moved the data from admin_view to these new tables.

This commit is contained in:
2017-10-13 01:14:17 +02:00
parent 39e1e5f078
commit 35482416cb
367 changed files with 8762 additions and 2210 deletions

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version @update number 126 of this MVC
@build 11th October, 2017
@version @update number 136 of this MVC
@build 12th October, 2017
@created 30th April, 2015
@package Component Builder
@subpackage admin_view.php
@ -59,14 +59,7 @@ class ComponentbuilderControllerAdmin_view extends JControllerForm
* @since 1.6
*/
protected function allowAdd($data = array())
{
// Access check.
$access = JFactory::getUser()->authorise('admin_view.access', 'com_componentbuilder');
if (!$access)
{
return false;
}
// In the absense of better information, revert to the component permissions.
{ // In the absense of better information, revert to the component permissions.
return parent::allowAdd($data);
}