where($table.'.site_id','=',Config::siteid()); else return $db; } // Add the site_id to the update query final public static function update($table = NULL) { $db = new Database_Query_Builder_Update($table); if (! in_array($table,Config::$no_site_id_tables)) return $db->where($table.'.site_id','=',Config::siteid()); else return $db; } } ?>