--- nfo/php/libs/org.netfrag.glib/DataSource/Generic.php 2003/04/09 02:07:33 1.17 +++ nfo/php/libs/org.netfrag.glib/DataSource/Generic.php 2003/04/11 00:55:49 1.18 @@ -12,9 +12,12 @@ * Cvs-Log: * *
- * $Id: Generic.php,v 1.17 2003/04/09 02:07:33 joko Exp $
+ * $Id: Generic.php,v 1.18 2003/04/11 00:55:49 joko Exp $
  *
  * $Log: Generic.php,v $
+ * Revision 1.18  2003/04/11 00:55:49  joko
+ * updated 'datasource_handler_buildoptions': action dispatcher now aware of 'delete'
+ *
  * Revision 1.17  2003/04/09 02:07:33  joko
  * CHANGE: renamed key 'classname' through 'nodename'
  *
@@ -733,9 +736,13 @@
                 $query_args[nodename] = $this->_query[nodename];
                 break;              
             }
-            if($this->_query[action] == 'write') {
+            
+            // dispatch action
+            if ($this->_query[action] == 'write') {
              $query_args[action] = $this->_query[action];
              $query_args[data] = $this->_query[data];
+            } elseif ($this->_query[action] == 'delete') {
+             $query_args[action] = $this->_query[action];
             }
             $args = array(
                           'data_type' => $this->_query[abstract_type],