forked from Cavemanon/cavepaintings
move metatag parsing to after set_tags is sent, rather than before
This commit is contained in:
@@ -623,6 +623,18 @@ class Image {
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Send list of metatags to be parsed.
|
||||
*
|
||||
* @param [] $metatags
|
||||
*/
|
||||
public function parse_metatags(/*arr*/ $metatags, $image_id) {
|
||||
foreach($metatags as $tag) {
|
||||
$ttpe = new TagTermParseEvent($tag, $image_id, TRUE);
|
||||
send_event($ttpe);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Delete this image from the database and disk
|
||||
*/
|
||||
|
Reference in New Issue
Block a user