From 69a070498b1891e75f00d983d20cf97e235dca7a Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Sun, 13 Mar 2016 12:48:45 +0000 Subject: [PATCH] fix wrong namespace --- api/src/Csrf.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/src/Csrf.php b/api/src/Csrf.php index 4cd88e6937..1924513f9f 100644 --- a/api/src/Csrf.php +++ b/api/src/Csrf.php @@ -36,7 +36,7 @@ class Csrf { if (is_null($_purpose)) { - throw new egw_exception_wrong_parameter(__METHOD__.'(NULL) $_purspose must NOT be NULL!'); + throw new Exception\WrongParameter(__METHOD__.'(NULL) $_purspose must NOT be NULL!'); } // generate random token (using oppenssl if available otherwise mt_rand based Auth::randomstring) $token = function_exists('openssl_random_pseudo_bytes') ?