fixing undefined $eventSource
This commit is contained in:
parent
19e604c104
commit
a0d6f0e127
|
@ -6,13 +6,14 @@ $force=isset($_GET['force']) and $_GET['force']=='true';
|
||||||
$dir=isset($_GET['dir'])?$_GET['dir']:'';
|
$dir=isset($_GET['dir'])?$_GET['dir']:'';
|
||||||
$checkOnly=isset($_GET['checkonly']) and $_GET['checkonly']=='true';
|
$checkOnly=isset($_GET['checkonly']) and $_GET['checkonly']=='true';
|
||||||
|
|
||||||
|
$eventSource=false;
|
||||||
if(!$checkOnly) {
|
if(!$checkOnly) {
|
||||||
$eventSource=new OC_EventSource();
|
$eventSource=new OC_EventSource();
|
||||||
}
|
}
|
||||||
|
|
||||||
session_write_close();
|
session_write_close();
|
||||||
|
|
||||||
//create the file cache if necesary
|
//create the file cache if necessary
|
||||||
if($force or !OC_FileCache::inCache('')) {
|
if($force or !OC_FileCache::inCache('')) {
|
||||||
if(!$checkOnly) {
|
if(!$checkOnly) {
|
||||||
OCP\DB::beginTransaction();
|
OCP\DB::beginTransaction();
|
||||||
|
|
Loading…
Reference in New Issue