Add user ID to log entries in admin page

This commit is contained in:
Lukas Reschke 2016-06-08 10:41:30 +02:00
parent 73a9afed6d
commit 6c69cdf860
No known key found for this signature in database
GPG Key ID: 9AB0ADB949B6898C
2 changed files with 6 additions and 0 deletions

View File

@ -64,6 +64,11 @@ OC.Log = {
timeTd.text(formatDate(entry.time * 1000));
}
row.append(timeTd);
var userTd = $('<td/>');
userTd.text(entry.user);
row.append(userTd);
$('#log').append(row);
}
OC.Log.loaded += entries.length;

View File

@ -519,6 +519,7 @@ if ($_['cronErrors']) {
p($entry->time);
}?>
</td>
<td><?php isset($entry->user) ? p($entry->user) : p('--') ?></td>
</tr>
<?php endforeach;?>
</table>