From 6473a665202aa549a8cbcdfe319cd6b21be0b5d9 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Tue, 2 Aug 2016 10:15:46 +0200 Subject: [PATCH] fix PHP Strict Standards: Only variables should be assigned by reference --- api/src/Link.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/src/Link.php b/api/src/Link.php index 7707b4e689..0829e11273 100644 --- a/api/src/Link.php +++ b/api/src/Link.php @@ -685,7 +685,7 @@ class Link extends Link\Storage Storage\History::static_add($app,$id,$GLOBALS['egw_info']['user']['account_id'],'~link~','',$app2.':'.$id2); Storage\History::static_add($app2,$id2,$GLOBALS['egw_info']['user']['account_id'],'~link~','',$app.':'.$id); } - $deleted =& Link\Storage::unlink($link_id,$app,$id,$owner,$app2 != '!'.self::VFS_APPNAME ? $app2 : '',$id2,$hold_for_purge); + $deleted = Link\Storage::unlink($link_id,$app,$id,$owner,$app2 != '!'.self::VFS_APPNAME ? $app2 : '',$id2,$hold_for_purge); // only notify on real links, not the one cached for writing or fileattachments self::notify_unlink($deleted);