mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-04 04:19:41 +01:00
Remove not used csp method
This commit is contained in:
parent
f83f03a084
commit
e9b80ecee5
@ -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
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user