This repository has been archived by the owner on Dec 27, 2023. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feature(Felamimail/ActiveSync): support FolderCreate command #7172
also remove all obsolete Felamimail_Model_Message containers (again) fixes #7172
- Loading branch information
Showing
5 changed files
with
72 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
<?php | ||
/** | ||
* Tine 2.0 | ||
* | ||
* @package Tinebase | ||
* @subpackage Setup | ||
* @license http://www.gnu.org/licenses/agpl.html AGPL3 | ||
* @copyright Copyright (c) 2021 Metaways Infosystems GmbH (http://www.metaways.de) | ||
* @author Philipp Schüle <p.schuele@metaways.de> | ||
*/ | ||
class Felamimail_Setup_Update_14 extends Setup_Update_Abstract | ||
{ | ||
const RELEASE014_UPDATE001 = __CLASS__ . '::update001'; | ||
|
||
static protected $_allUpdates = [ | ||
self::PRIO_NORMAL_APP_UPDATE => [ | ||
self::RELEASE014_UPDATE001 => [ | ||
self::CLASS_CONST => self::class, | ||
self::FUNCTION_CONST => 'update001', | ||
], | ||
], | ||
]; | ||
|
||
public function update001() | ||
{ | ||
// remove obsolete Felamimail_Model_Message containers that have been created by accident (see \ActiveSync_Frontend_Abstract::createFolder) | ||
$this->_db->query('DELETE FROM ' . SQL_TABLE_PREFIX . 'container WHERE model = "Felamimail_Model_Message"'); | ||
$this->addApplicationUpdate('Felamimail', '14.1', self::RELEASE014_UPDATE001); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters