1
0
mirror of https://github.com/nextcloud/ocsms.git synced 2026-08-11 16:32:55 +00:00

Make owncloud 8.1 as the minimum default + cleanups

This commit is contained in:
Loic Blot
2016-05-19 18:27:48 +02:00
parent 4fc1a91a39
commit 729b48a846
5 changed files with 38 additions and 40 deletions
+8 -6
View File
@@ -12,7 +12,9 @@
namespace OCA\OcSms\Lib;
use \OCP\Util;
use \OCP\Contacts\IManager as IContactsManager;
use \OCA\OcSms\Db\ConfigMapper;
class ContactCache {
/**
@@ -25,11 +27,11 @@ class ContactCache {
private $cfgMapper;
private $contactsManager;
public function __construct ($cfgMapper, $contactsManager) {
$contacts = array();
$contactPhotos = array();
$contactsInverted = array();
public function __construct (ConfigMapper $cfgMapper, IContactsManager $contactsManager) {
$this->contacts = array();
$this->contactPhotos = array();
$this->contactsInverted = array();
$this->cfgMapper = $cfgMapper;
$this->contactsManager = $contactsManager;
}