From 227a5b28da98a5ff801ad2f95228a3e23b166e4c Mon Sep 17 00:00:00 2001 From: Hadi Nategh Date: Fri, 1 Dec 2017 11:21:29 +0100 Subject: [PATCH] Add deprecated tag to filemanager_select class --- filemanager/inc/class.filemanager_select.inc.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/filemanager/inc/class.filemanager_select.inc.php b/filemanager/inc/class.filemanager_select.inc.php index fc84a91ac2..cf1d3a4725 100644 --- a/filemanager/inc/class.filemanager_select.inc.php +++ b/filemanager/inc/class.filemanager_select.inc.php @@ -35,6 +35,11 @@ use EGroupware\Api\Etemplate; * After the user selected one or more files (depending on the mode parameter), the "method" callback gets * called on server (!) side. Parameters are the id plus the selected files as 1. and 2. parameter. * The callback returns javascript to eg. update it's UI AND (!) to close the current popup ("window.close();"). + * + * @deprecated This class is deprecated in favor of et2_vfsSelect widget. Please + * use et2_vfsSelect widget if you are not running old etemplate. + * + * @todo this class should be removed once we have all applications ported in et2 */ class filemanager_select { @@ -64,6 +69,8 @@ class filemanager_select * File selector * * @param array $content + * + * @deprecated Please use et2_vfsSelect widget in client side instead */ function select(array $content=null) {