mirror of
https://github.com/typemill/typemill.git
synced 2025-07-25 00:02:28 +02:00
v2.14.2 dispatch metadefinitions on update
This commit is contained in:
2
cache/timer.yaml
vendored
2
cache/timer.yaml
vendored
@@ -1 +1 @@
|
||||
licenseupdate: 1739760847
|
||||
licenseupdate: 1739826278
|
||||
|
@@ -34,18 +34,3 @@ promptlist:
|
||||
content: 'Apply the tone to the article.'
|
||||
active: true
|
||||
system: true
|
||||
test:
|
||||
name: test
|
||||
content: asfasdfda
|
||||
active: true
|
||||
system: false
|
||||
testing:
|
||||
name: testing
|
||||
content: asdfasdf
|
||||
active: true
|
||||
system: false
|
||||
fertret:
|
||||
name: fertret
|
||||
content: adasdf
|
||||
active: true
|
||||
system: false
|
||||
|
@@ -171,6 +171,9 @@ class ControllerApiAuthorMeta extends Controller
|
||||
$metadefinitions = $meta->getMetaDefinitions($this->settings, $folder = false);
|
||||
}
|
||||
|
||||
# update metadefinitions from plugins.
|
||||
$metadefinitions = $this->c->get('dispatcher')->dispatch(new OnMetaDefinitionsLoaded($metadefinitions),'onMetaDefinitionsLoaded')->getData();
|
||||
|
||||
$tabdefinitions = $metadefinitions[$params['tab']] ?? false;
|
||||
if(!$tabdefinitions)
|
||||
{
|
||||
|
@@ -1,4 +1,4 @@
|
||||
version: '2.14.1'
|
||||
version: '2.14.2'
|
||||
title: 'Typemill'
|
||||
author: 'Unknown'
|
||||
copyright: false
|
||||
|
Reference in New Issue
Block a user