forked from Cavemanon/cavepaintings
Merge branch 'develop' of git://github.com/shish/shimmie2
This commit is contained in:
@ -479,15 +479,9 @@ class Image {
|
||||
$this->delete_tags_from_image();
|
||||
// insert each new tags
|
||||
foreach($tags as $tag) {
|
||||
if(preg_match("/^source[=|:](.*)$/i", $tag, $matches)) {
|
||||
$this->set_source($matches[1]);
|
||||
continue;
|
||||
}
|
||||
if(preg_match("/^pool[=|:](.*)$/i", $tag, $matches)) {
|
||||
if(class_exists("Pools")) {
|
||||
$pls = new Pools();
|
||||
$pls->add_post_from_tag($matches[1], $this->id);
|
||||
}
|
||||
$ttpe = new TagTermParseEvent($tag, $this->id);
|
||||
send_event($ttpe);
|
||||
if($ttpe->is_metatag()) {
|
||||
continue;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user