Commit 124d3ae1 authored by Sebastian Kummer's avatar Sebastian Kummer

ZP-1169 KopanoChangesWrapper->hasDiscardDataFlag() is lowercase as it's

a private method.

Released under the Affero GNU General Public License (AGPL) version 3.
parent 27afab13
......@@ -75,7 +75,7 @@ class KopanoChangesWrapper implements IImportChanges, IExportChanges {
*/
static public function GetWrapper($storeName, $session, $store, $folderid, $ownFolder) {
// if existing exporter is used by Ping we need to discard it so it's fully reconfigured (ZP-1169)
if (isset(self::$wrappers[$storeName][$folderid]) && self::$wrappers[$storeName][$folderid]->HasDiscardDataFlag()) {
if (isset(self::$wrappers[$storeName][$folderid]) && self::$wrappers[$storeName][$folderid]->hasDiscardDataFlag()) {
ZLog::Write(LOGLEVEL_DEBUG, "KopanoChangesWrapper::GetWrapper(): Found existing notification check exporter. Reinitializing.");
unset(self::$wrappers[$storeName][$folderid]);
}
......@@ -164,7 +164,7 @@ class KopanoChangesWrapper implements IImportChanges, IExportChanges {
* @access private
* @return boolean
*/
private function HasDiscardDataFlag() {
private function hasDiscardDataFlag() {
if (isset($this->current) && $this->current instanceof ExportChangesICS && $this->current->HasDiscardDataFlag()) {
return true;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment