* many more admin actions are logged into activity table
* use the activity.details as an associative array (serialized in database)
This commit is contained in:
plegall
2019-04-01 16:19:09 +02:00
parent 447e7e729f
commit 940d1d2e8c
18 changed files with 176 additions and 29 deletions
+8
View File
@@ -277,6 +277,8 @@ DELETE
array('primary' => array('id'), 'update' => array('author')),
$datas
);
pwg_activity('photo', $collection, 'edit', array('action'=>'author'));
}
// title
@@ -301,6 +303,8 @@ DELETE
array('primary' => array('id'), 'update' => array('name')),
$datas
);
pwg_activity('photo', $collection, 'edit', array('action'=>'title'));
}
// date_creation
@@ -329,6 +333,8 @@ DELETE
array('primary' => array('id'), 'update' => array('date_creation')),
$datas
);
pwg_activity('photo', $collection, 'edit', array('action'=>'date_creation'));
}
// privacy_level
@@ -349,6 +355,8 @@ DELETE
$datas
);
pwg_activity('photo', $collection, 'edit', array('action'=>'privacy_level'));
if (isset($_SESSION['bulk_manager_filter']['level']))
{
if ($_POST['level'] < $_SESSION['bulk_manager_filter']['level'])