mirror of
https://github.com/splitbrain/dokuwiki-plugin-sync.git
synced 2025-07-24 10:01:41 +00:00
No need to fetch images if we've already failed
This commit is contained in:
@ -151,8 +151,9 @@ class admin_plugin_sync extends DokuWiki_Admin_Plugin {
|
||||
$this->profiles[$this->profno]['type'] == 1){
|
||||
$pages = $this->_getSyncList('pages');
|
||||
}
|
||||
if($this->profiles[$this->profno]['type'] == 0 ||
|
||||
$this->profiles[$this->profno]['type'] == 2){
|
||||
if(($this->profiles[$this->profno]['type'] == 0 ||
|
||||
$this->profiles[$this->profno]['type'] == 2)
|
||||
&& $pages !== false ){
|
||||
$media = $this->_getSyncList('media');
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user