Skip to content
Snippets Groups Projects
Commit 26b26107 authored by David Siegfried's avatar David Siegfried Committed by Jan-Hendrik Willms
Browse files

fix logging, fixes #4280

Closes #4280

Merge request !3097
parent 803cc508
No related branches found
No related tags found
No related merge requests found
......@@ -81,9 +81,10 @@ class FileRef extends SimpleORMap implements PrivacyObject, FeedbackRange
public function cbLogDeleteFileRef()
{
StudipLog::log('FILE_DELETE',
$this->id,
User::findCurrent()->id,
null,
sprintf(
'Kommentar: %s',
$this->name
)
);
......
......@@ -88,9 +88,10 @@ class Folder extends SimpleORMap implements FeedbackRange
protected function cbLogDeleteFolder()
{
StudipLog::log('FOLDER_DELETE',
$this->id,
User::findCurrent()->id,
null,
sprintf(
'Kommentar: %s',
$this->name
)
);
......
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