|
@@ 894-896 (lines=3) @@
|
| 891 |
|
|
| 892 |
|
switch ($log_action) |
| 893 |
|
{ |
| 894 |
|
case 'MOVE_LINKS_MOVE_CATS': |
| 895 |
|
$this->phpbb_log->add('admin', $this->user->data['user_id'], $this->user->ip, 'LOG_DIR_CAT_DEL_MOVE_LINKS_MOVE_CATS', time(), array($links_to_name, $subcats_to_name, $this->cat_data['cat_name'])); |
| 896 |
|
break; |
| 897 |
|
|
| 898 |
|
case 'MOVE_LINKS_CATS': |
| 899 |
|
$this->phpbb_log->add('admin', $this->user->data['user_id'], $this->user->ip, 'LOG_DIR_CAT_DEL_MOVE_LINKS_CATS', time(), array($links_to_name, $this->cat_data['cat_name'])); |
|
@@ 898-900 (lines=3) @@
|
| 895 |
|
$this->phpbb_log->add('admin', $this->user->data['user_id'], $this->user->ip, 'LOG_DIR_CAT_DEL_MOVE_LINKS_MOVE_CATS', time(), array($links_to_name, $subcats_to_name, $this->cat_data['cat_name'])); |
| 896 |
|
break; |
| 897 |
|
|
| 898 |
|
case 'MOVE_LINKS_CATS': |
| 899 |
|
$this->phpbb_log->add('admin', $this->user->data['user_id'], $this->user->ip, 'LOG_DIR_CAT_DEL_MOVE_LINKS_CATS', time(), array($links_to_name, $this->cat_data['cat_name'])); |
| 900 |
|
break; |
| 901 |
|
|
| 902 |
|
case 'LINKS_MOVE_CATS': |
| 903 |
|
$this->phpbb_log->add('admin', $this->user->data['user_id'], $this->user->ip, 'LOG_DIR_CAT_DEL_LINKS_MOVE_CATS', time(), array($subcats_to_name, $this->cat_data['cat_name'])); |
|
@@ 902-904 (lines=3) @@
|
| 899 |
|
$this->phpbb_log->add('admin', $this->user->data['user_id'], $this->user->ip, 'LOG_DIR_CAT_DEL_MOVE_LINKS_CATS', time(), array($links_to_name, $this->cat_data['cat_name'])); |
| 900 |
|
break; |
| 901 |
|
|
| 902 |
|
case 'LINKS_MOVE_CATS': |
| 903 |
|
$this->phpbb_log->add('admin', $this->user->data['user_id'], $this->user->ip, 'LOG_DIR_CAT_DEL_LINKS_MOVE_CATS', time(), array($subcats_to_name, $this->cat_data['cat_name'])); |
| 904 |
|
break; |
| 905 |
|
|
| 906 |
|
case '_MOVE_CATS': |
| 907 |
|
$this->phpbb_log->add('admin', $this->user->data['user_id'], $this->user->ip, 'LOG_DIR_CAT_DEL_MOVE_CATS', time(), array($subcats_to_name, $this->cat_data['cat_name'])); |
|
@@ 906-908 (lines=3) @@
|
| 903 |
|
$this->phpbb_log->add('admin', $this->user->data['user_id'], $this->user->ip, 'LOG_DIR_CAT_DEL_LINKS_MOVE_CATS', time(), array($subcats_to_name, $this->cat_data['cat_name'])); |
| 904 |
|
break; |
| 905 |
|
|
| 906 |
|
case '_MOVE_CATS': |
| 907 |
|
$this->phpbb_log->add('admin', $this->user->data['user_id'], $this->user->ip, 'LOG_DIR_CAT_DEL_MOVE_CATS', time(), array($subcats_to_name, $this->cat_data['cat_name'])); |
| 908 |
|
break; |
| 909 |
|
|
| 910 |
|
case 'MOVE_LINKS_': |
| 911 |
|
$this->phpbb_log->add('admin', $this->user->data['user_id'], $this->user->ip, 'LOG_DIR_CAT_DEL_MOVE_LINKS', time(), array($links_to_name, $this->cat_data['cat_name'])); |
|
@@ 910-912 (lines=3) @@
|
| 907 |
|
$this->phpbb_log->add('admin', $this->user->data['user_id'], $this->user->ip, 'LOG_DIR_CAT_DEL_MOVE_CATS', time(), array($subcats_to_name, $this->cat_data['cat_name'])); |
| 908 |
|
break; |
| 909 |
|
|
| 910 |
|
case 'MOVE_LINKS_': |
| 911 |
|
$this->phpbb_log->add('admin', $this->user->data['user_id'], $this->user->ip, 'LOG_DIR_CAT_DEL_MOVE_LINKS', time(), array($links_to_name, $this->cat_data['cat_name'])); |
| 912 |
|
break; |
| 913 |
|
|
| 914 |
|
case 'LINKS_CATS': |
| 915 |
|
$this->phpbb_log->add('admin', $this->user->data['user_id'], $this->user->ip, 'LOG_DIR_CAT_DEL_LINKS_CATS', time(), array($this->cat_data['cat_name'])); |
|
@@ 914-916 (lines=3) @@
|
| 911 |
|
$this->phpbb_log->add('admin', $this->user->data['user_id'], $this->user->ip, 'LOG_DIR_CAT_DEL_MOVE_LINKS', time(), array($links_to_name, $this->cat_data['cat_name'])); |
| 912 |
|
break; |
| 913 |
|
|
| 914 |
|
case 'LINKS_CATS': |
| 915 |
|
$this->phpbb_log->add('admin', $this->user->data['user_id'], $this->user->ip, 'LOG_DIR_CAT_DEL_LINKS_CATS', time(), array($this->cat_data['cat_name'])); |
| 916 |
|
break; |
| 917 |
|
|
| 918 |
|
case '_CATS': |
| 919 |
|
$this->phpbb_log->add('admin', $this->user->data['user_id'], $this->user->ip, 'LOG_DIR_CAT_DEL_CATS', time(), array($this->cat_data['cat_name'])); |
|
@@ 918-920 (lines=3) @@
|
| 915 |
|
$this->phpbb_log->add('admin', $this->user->data['user_id'], $this->user->ip, 'LOG_DIR_CAT_DEL_LINKS_CATS', time(), array($this->cat_data['cat_name'])); |
| 916 |
|
break; |
| 917 |
|
|
| 918 |
|
case '_CATS': |
| 919 |
|
$this->phpbb_log->add('admin', $this->user->data['user_id'], $this->user->ip, 'LOG_DIR_CAT_DEL_CATS', time(), array($this->cat_data['cat_name'])); |
| 920 |
|
break; |
| 921 |
|
|
| 922 |
|
case 'LINKS_': |
| 923 |
|
$this->phpbb_log->add('admin', $this->user->data['user_id'], $this->user->ip, 'LOG_DIR_CAT_DEL_LINKS', time(), array($this->cat_data['cat_name'])); |
|
@@ 922-924 (lines=3) @@
|
| 919 |
|
$this->phpbb_log->add('admin', $this->user->data['user_id'], $this->user->ip, 'LOG_DIR_CAT_DEL_CATS', time(), array($this->cat_data['cat_name'])); |
| 920 |
|
break; |
| 921 |
|
|
| 922 |
|
case 'LINKS_': |
| 923 |
|
$this->phpbb_log->add('admin', $this->user->data['user_id'], $this->user->ip, 'LOG_DIR_CAT_DEL_LINKS', time(), array($this->cat_data['cat_name'])); |
| 924 |
|
break; |
| 925 |
|
|
| 926 |
|
default: |
| 927 |
|
$this->phpbb_log->add('admin', $this->user->data['user_id'], $this->user->ip, 'LOG_DIR_CAT_DEL_CAT', time(), array($this->cat_data['cat_name'])); |
|
@@ 926-928 (lines=3) @@
|
| 923 |
|
$this->phpbb_log->add('admin', $this->user->data['user_id'], $this->user->ip, 'LOG_DIR_CAT_DEL_LINKS', time(), array($this->cat_data['cat_name'])); |
| 924 |
|
break; |
| 925 |
|
|
| 926 |
|
default: |
| 927 |
|
$this->phpbb_log->add('admin', $this->user->data['user_id'], $this->user->ip, 'LOG_DIR_CAT_DEL_CAT', time(), array($this->cat_data['cat_name'])); |
| 928 |
|
break; |
| 929 |
|
} |
| 930 |
|
|
| 931 |
|
return $this->errors; |