name.">localsql</configstring>
</configsection>
+ <configsection name="gal">
+ <configheader>Exchange GAL</configheader>
+ <configstring name="addressbook" desc="If using a synchronization solution
+ that supports Exchange-style Global Address List (GAL) searches enter the
+ name of the addressbook that should act as the GAL. This is normally a
+ globally accessable, readonly addressbook.">localsql</configstring>
+ </configsection>
+
<configsection name="shares">
<configheader>Shares</configheader>
<configstring name="source" desc="Name of source for creating new
return $prefs->getValue('default_dir');
}
+ /**
+ * Retrieve the UID for the Global Address List source, or false if none
+ * configured.
+ *
+ * @return string | boolean The UID or false if none configured.
+ */
+ public function getGalUid()
+ {
+ if (!empty($GLOBALS['conf']['gal']['addressbook'])) {
+ return $GLOBALS['conf']['gal']['addressbook'];
+ }
+
+ return false;
+ }
+
private function _modified($uid)
{
$modified = $this->getActionTimestamp($uid, 'modify');