From 796f485117dc32d55c7a83823902fc30b1aead87 Mon Sep 17 00:00:00 2001 From: Hadi Nategh Date: Fri, 16 Mar 2018 13:13:58 +0100 Subject: [PATCH] Remove not used csp method --- api/src/Framework/Ajax.php | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/api/src/Framework/Ajax.php b/api/src/Framework/Ajax.php index 96f83fd913..55a8bf60a8 100755 --- a/api/src/Framework/Ajax.php +++ b/api/src/Framework/Ajax.php @@ -173,23 +173,6 @@ abstract class Ajax extends Api\Framework return $link; } - /** - * Query additional CSP frame-src from current app - * - * We have to query all apps, as we dont reload frameset! - * - * @return array - */ - protected function _get_csp_frame_src() - { - $srcs = array(); - foreach(Api\Hooks::process('csp-frame-src') as $src) - { - if ($src) $srcs = array_merge($srcs, $src); - } - return $srcs; - } - /** * Returns the html-header incl. the opening body tag *