Ver Fonte

Added two new fields to the Mview interface: status and comments. The status field gets updated to indicate if an error occured when populating or tells the number of records in the table after populating. The comments field is used to allow the user to provide a description of the view

stephen há 13 anos atrás
pai
commit
2877c624ea
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      base/tripal_core/mviews.php

+ 1 - 1
base/tripal_core/mviews.php

@@ -30,7 +30,7 @@
  *
  * @ingroup tripal_mviews_api
  */
-function tripal_add_mview ($name,$modulename,$mv_table,$mv_specs,$indexed,$query,$special_index,$comment){
+function tripal_add_mview ($name,$modulename,$mv_table,$mv_specs,$indexed,$query,$special_index,$comment=NULL){
 
    $record = new stdClass();
    $record->name = $name;