forked from extern/egroupware
* fixed not working scheduled import from vfs
This commit is contained in:
parent
49909211f1
commit
ed60695cd5
@ -248,12 +248,13 @@
|
||||
stream_wrapper_register(vfs_stream_wrapper::SCHEME, 'vfs_stream_wrapper', STREAM_IS_URL);
|
||||
}
|
||||
|
||||
if ($data['type'] == 'import' && !is_readable($data['target']))
|
||||
if ($data['type'] == 'import' && ($scheme == egw_vfs::SCHEME && !egw_vfs::is_readable($data['target']) ||
|
||||
$scheme != egw_vfs::SCHEME && !is_readable($data['target'])))
|
||||
{
|
||||
return $data['target']. ' is not readable';
|
||||
return lang('%1 is not readable',$data['target']);
|
||||
}
|
||||
elseif ($data['type'] == 'export' && !self::is__writable($data['target'])) {
|
||||
return $data['target']. ' is not writable';
|
||||
return lang('%1 is not writable',$data['target']);
|
||||
}
|
||||
|
||||
return true;
|
||||
|
@ -9,6 +9,9 @@
|
||||
* @version $Id$
|
||||
*/
|
||||
|
||||
// RB: never install by default, only via setup
|
||||
$setup_info['importexport']['only_db'] = array('never');
|
||||
|
||||
$setup_info['importexport']['name'] = 'importexport';
|
||||
$setup_info['importexport']['version'] = '1.9.001';
|
||||
$setup_info['importexport']['app_order'] = 2;
|
||||
|
Loading…
Reference in New Issue
Block a user