fixed moving files in filemanger

This commit is contained in:
Ralf Becker 2004-12-06 14:15:08 +00:00
parent 948f739fd6
commit 9dd38aa59a

View File

@ -1461,16 +1461,14 @@
} }
elseif (!$t->outside) elseif (!$t->outside)
{ {
/* RalfBecker 2004/09/19: for my undetstanding the query does nothing, as it only sets rows already containing these values !!!
$this->db->update($this->vfs_table,array( $this->db->update($this->vfs_table,array(
'directory' => $t->fake_leading_dirs, 'directory' => $t->fake_leading_dirs,
'name' => $t->fake_name, 'name' => $t->fake_name,
),array( ),array(
'directory' => $t->fake_leading_dirs, 'directory' => $f->fake_leading_dirs,
'name' => $t->fake_name, 'name' => $f->fake_name,
$this->extra_sql(array ('query_type' => VFS_SQL_UPDATE)), $this->extra_sql(array ('query_type' => VFS_SQL_UPDATE)),
), __LINE__, __FILE__); ), __LINE__, __FILE__);
*/
} }
$this->set_attributes(array( $this->set_attributes(array(