The plugin function should be triggered.
No result because the trigger does not exists for (un)publishing Update sites.
PHP Version 7.0.9
Web Server Apache 2.4.23 (Win32)
Joomla! version 3.6.5
User Agent Mozilla/5.0 (Windows NT 6.3; WOW64; rv:50.0) Gecko/20100101 Firefox/50.0
Suggestion to add a trigger event to administrator/components/com_installer/models/updatesites.php called OnUpdateSiteChangeStage. Add the following code at line 109 (in the function publish):
$context = $this->option . '.' . $this->name;
JEventDispatcher::getInstance()->trigger('onUpdateSiteChangeState', array($context, $eid, $value));
The event name onContentChangeState is not logical because this new event must be started from within a System plugin (if I am correct).
Rel_Number | 0 | ⇒ | 13278 |
Relation Type | ⇒ | Related to |
Status | New | ⇒ | Duplicate Report |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2017-06-25 12:40:37 |
Closed_By | ⇒ | franz-wohlkoenig | |
Relation Type | Related to | ⇒ | Duplicate of |
Set to "closed" on behalf of @franz-wohlkoenig by The JTracker Application at issues.joomla.org/joomla-cms/13279
closed as duplicate Report.
Duplicate of #13278
@nibra