diff develop/controllers/extractapp.php @ 19:f60969462226

save tag modification of topic configration into topic_tag_relation table
author Zoe Hong <zhong@mpiwg-berlin.mpg.de>
date Mon, 23 Feb 2015 12:46:03 +0100
parents 82f8c6bd2b69
children c805470cefee
line wrap: on
line diff
--- a/develop/controllers/extractapp.php	Mon Feb 23 10:55:28 2015 +0100
+++ b/develop/controllers/extractapp.php	Mon Feb 23 12:46:03 2015 +0100
@@ -128,12 +128,12 @@
         //$viewmodel = new ExtractappModel();
         $viewmodel = $this->viewmodel;
         switch ($this->postdata['func']) {
-            case 'somefunc':
-                
+            case 'Update':
+                $viewmodel->UpdateTagsInTopic($this->postdata);
                 break;
             default:    
                 $this->ReturnView($viewmodel->ConfigTagsInTopic($this->postdata), true);  
-            break;
+                break;
          } 
     }