Commit 96508ef5 authored by Sebastian Kummer's avatar Sebastian Kummer

ZP-1065 Changed method name to make it clearer.

Released under the Affero GNU General Public License (AGPL) version 3.
parent acc4fa3a
...@@ -1497,7 +1497,7 @@ class BackendKopano implements IBackend, ISearchProvider { ...@@ -1497,7 +1497,7 @@ class BackendKopano implements IBackend, ISearchProvider {
if (isset($settings['settings']['zarafa']['v1']['contexts']['mail']['signatures'])) { if (isset($settings['settings']['zarafa']['v1']['contexts']['mail']['signatures'])) {
// convert WebApp signatures into KoeSignatures object // convert WebApp signatures into KoeSignatures object
$sigs->LoadSignaturesFromData($settings['settings']['zarafa']['v1']['contexts']['mail']['signatures']); $sigs->LoadSignaturesFromData($settings['settings']['zarafa']['v1']['contexts']['mail']['signatures']);
ZLog::Write(LOGLEVEL_DEBUG, sprintf("KopanoBackend->GetKoeSignatures(): Found %d signatures - new '%s' - reply/fw: '%s' - hash: %s", count($sigs->GetSignatures()), $sigs->GetNewMessageSignature(), $sigs->GetReplyForwardSignature(), $sigs->GetHash())); ZLog::Write(LOGLEVEL_DEBUG, sprintf("KopanoBackend->GetKoeSignatures(): Found %d signatures - new '%s' - reply/fw: '%s' - hash: %s", count($sigs->GetSignatures()), $sigs->GetNewMessageSignatureId(), $sigs->GetReplyForwardSignatureId(), $sigs->GetHash()));
} }
else { else {
ZLog::Write(LOGLEVEL_DEBUG, "KopanoBackend->GetKoeSignatures(): No signature data in WebApp settings"); ZLog::Write(LOGLEVEL_DEBUG, "KopanoBackend->GetKoeSignatures(): No signature data in WebApp settings");
......
...@@ -54,10 +54,10 @@ class KoeSignatures { ...@@ -54,10 +54,10 @@ class KoeSignatures {
} }
} }
if (isset($data['new_message'])) { if (isset($data['new_message'])) {
$this->SetNewMessageSignature($data['new_message']); $this->SetNewMessageSignatureId($data['new_message']);
} }
if (isset($data['replyforward_message'])) { if (isset($data['replyforward_message'])) {
$this->SetReplyForwardSignature($data['replyforward_message']); $this->SetReplyForwardSignatureId($data['replyforward_message']);
} }
// update the hash // update the hash
$this->GetHash(); $this->GetHash();
...@@ -106,7 +106,7 @@ class KoeSignatures { ...@@ -106,7 +106,7 @@ class KoeSignatures {
* @access public * @access public
* @return void * @return void
*/ */
public function SetNewMessageSignature($id) { public function SetNewMessageSignatureId($id) {
$this->new_message = $id; $this->new_message = $id;
} }
...@@ -116,7 +116,7 @@ class KoeSignatures { ...@@ -116,7 +116,7 @@ class KoeSignatures {
* @access public * @access public
* @return string | null * @return string | null
*/ */
public function GetNewMessageSignature() { public function GetNewMessageSignatureId() {
return $this->new_message; return $this->new_message;
} }
...@@ -129,7 +129,7 @@ class KoeSignatures { ...@@ -129,7 +129,7 @@ class KoeSignatures {
* @access public * @access public
* @return void * @return void
*/ */
public function SetReplyForwardSignature($id) { public function SetReplyForwardSignatureId($id) {
$this->replyforward_message = $id; $this->replyforward_message = $id;
} }
...@@ -139,7 +139,7 @@ class KoeSignatures { ...@@ -139,7 +139,7 @@ class KoeSignatures {
* @access public * @access public
* @return string | null * @return string | null
*/ */
public function GetReplyForwardSignature() { public function GetReplyForwardSignatureId() {
return $this->replyforward_message; return $this->replyforward_message;
} }
......
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