mirror of
https://github.com/nerzhul/ocsms.git
synced 2025-06-07 07:56:23 +00:00
parent
46a5578b19
commit
6b68ccc2ac
@ -99,7 +99,6 @@ class SmsController extends Controller {
|
||||
}
|
||||
$lastRead = $this->smsMapper->getLastReadDate($this->userId);
|
||||
$ocversion = \OCP\Util::getVersion();
|
||||
$photoURL = preg_replace("#^VALUE=uri:#","",$r["PHOTO"], 1);
|
||||
$photoversion = 1;
|
||||
if (version_compare($ocversion[0].".".$ocversion[1].".".$ocversion[2], "9.0.0", ">=")) {
|
||||
$photoversion = 2;
|
||||
|
Loading…
x
Reference in New Issue
Block a user