Skip to content
Snippets Groups Projects
Commit 4f837245 authored by David Siegfried's avatar David Siegfried
Browse files

declare function static, closes #1234

Closes #1234

Merge request studip/studip!749
parent 9f1ed41f
No related branches found
No related tags found
No related merge requests found
......@@ -161,7 +161,7 @@ class StudipLog
* @param string $name The name of the log action.
* @return mixed Number of deleted objects or false if action is unknown.
*/
public function unregisterAction($name)
public static function unregisterAction($name)
{
$action = LogAction::findOneByName($name);
if ($action) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment