Remove not used csp method

This commit is contained in:
Hadi Nategh 2018-03-16 13:13:58 +01:00
parent f83f03a084
commit e9b80ecee5

View File

@ -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
*