$database = $this->_normalize($databaseURI);
switch($database) {
- case 'tasks';
- case 'calendar';
- case 'notes';
- case 'contacts';
+ case 'tasks':
+ case 'calendar':
+ case 'notes':
+ case 'contacts':
+ case 'configuration':
return true;
default:
- $this->logMessage('Invalid database ' . $database
- . '. Try tasks, calendar, notes or contacts.',
+ $this->logMessage('Invalid database "' . $database
+ . '". Try tasks, calendar, notes or contacts.',
__FILE__, __LINE__, PEAR_LOG_ERR);
return false;
}
RESPONSE_NOT_FOUND);
return;
}
+ if ($database == 'configuration') {
+ $this->_outputHandler->outputStatus($this->_cmdID, $this->_cmdName,
+ RESPONSE_OK);
+ }
$clientAnchorNext = $this->_metaAnchorNext;
function _retrieveChanges($syncDB, &$adds, &$replaces, &$deletes)
{
$adds = $replaces = $deletes = array();
+ if ($syncDB == 'configuration') {
+ return;
+ }
$result = $GLOBALS['backend']->getServerChanges($syncDB,
$this->_serverAnchorLast,
$this->_serverAnchorNext,