?
Referenced as Pull Request for: # 8651
avatar klas
klas
12 Dec 2015

New ConfigModelApplication::storePermissions reads and writes assets database table directly.
https://github.com/joomla/joomla-cms/blob/staging/administrator/components/com_config/model/application.php#L348
https://github.com/joomla/joomla-cms/blob/staging/administrator/components/com_config/model/application.php#L416

Those queries should be replaced by usage of existing API from JTableAsset , also we should avoid direct coupling with db structure here.
E.g. first query can be replaced by JTableAsset::loadByName

avatar klas klas - open - 12 Dec 2015
avatar klas klas - change - 12 Dec 2015
Title
storePermissions should use existing API
new ConfigModelApplication::storePermissions should use existing API
avatar brianteeman brianteeman - change - 14 Dec 2015
Labels Added: ?
avatar brianteeman brianteeman - change - 23 Dec 2015
Status New Closed
Closed_Date 0000-00-00 00:00:00 2015-12-23 11:06:46
Closed_By brianteeman
avatar brianteeman
brianteeman - comment - 23 Dec 2015

Closed as we have a PR #8651


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/8650.

avatar brianteeman brianteeman - close - 23 Dec 2015

Add a Comment

Login with GitHub to post a comment