Skip to content

Commit

Permalink
Fix Fatal errors : Cannot redeclare Horde_Imap_Client_Cache_Backend::…
Browse files Browse the repository at this point in the history
…__serialize() and Cannot redeclare Horde_Imap_Client_Cache_Backend_Cache::__serialize()
  • Loading branch information
rahal committed Jan 8, 2024
1 parent 20e7352 commit 85db486
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 22 deletions.
13 changes: 0 additions & 13 deletions lib/Horde/Imap/Client/Cache/Backend.php
Original file line number Diff line number Diff line change
Expand Up @@ -170,19 +170,6 @@ public function __serialize()
return $this->_params;
}

public function __unserialize(array $data)
{
$this->_params = $data;
}

/**
* @return array
*/
public function __serialize()
{
return $this->_params;
}

public function __unserialize(array $data)
{
$this->_params = $data;
Expand Down
9 changes: 0 additions & 9 deletions lib/Horde/Imap/Client/Cache/Backend/Cache.php
Original file line number Diff line number Diff line change
Expand Up @@ -511,13 +511,4 @@ public function __serialize()
return parent::__serialize();
}

/**
* @return array
*/
public function __serialize()
{
$this->save();
return parent::__serialize();
}

}

0 comments on commit 85db486

Please sign in to comment.