mirror of
https://github.com/owncloudarchive/contacts.git
synced 2025-01-19 08:52:22 +01:00
Fix #474 isssue 2
This commit is contained in:
parent
0d619b835c
commit
cc3fc4b9ba
@ -217,7 +217,6 @@ class LocalUsers extends AbstractBackend {
|
|||||||
// All done
|
// All done
|
||||||
// now update the index table with all the properties
|
// now update the index table with all the properties
|
||||||
$this->updateIndex($user, $vcard);
|
$this->updateIndex($user, $vcard);
|
||||||
return true;
|
|
||||||
}
|
}
|
||||||
} catch(\Exception $e) {
|
} catch(\Exception $e) {
|
||||||
\OCP\Util::writeLog('contacts', __METHOD__.' exception: '
|
\OCP\Util::writeLog('contacts', __METHOD__.' exception: '
|
||||||
@ -225,6 +224,7 @@ class LocalUsers extends AbstractBackend {
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -244,8 +244,6 @@ class LocalUsers extends AbstractBackend {
|
|||||||
\OCP\Util::writeLog('contacts', __METHOD__. 'DB error: '
|
\OCP\Util::writeLog('contacts', __METHOD__. 'DB error: '
|
||||||
. \OC_DB::getErrorMessage($result), \OCP\Util::ERROR);
|
. \OC_DB::getErrorMessage($result), \OCP\Util::ERROR);
|
||||||
return false;
|
return false;
|
||||||
} else {
|
|
||||||
return true;
|
|
||||||
}
|
}
|
||||||
} catch(\Exception $e) {
|
} catch(\Exception $e) {
|
||||||
\OCP\Util::writeLog('contacts', __METHOD__.' exception: '
|
\OCP\Util::writeLog('contacts', __METHOD__.' exception: '
|
||||||
|
Loading…
x
Reference in New Issue
Block a user