|
@@ 940-942 (lines=3) @@
|
| 937 |
|
|
| 938 |
|
switch ($log_action) |
| 939 |
|
{ |
| 940 |
|
case 'MOVE_LINKS_MOVE_CATS': |
| 941 |
|
$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'])); |
| 942 |
|
break; |
| 943 |
|
|
| 944 |
|
case 'MOVE_LINKS_CATS': |
| 945 |
|
$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'])); |
|
@@ 944-946 (lines=3) @@
|
| 941 |
|
$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'])); |
| 942 |
|
break; |
| 943 |
|
|
| 944 |
|
case 'MOVE_LINKS_CATS': |
| 945 |
|
$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'])); |
| 946 |
|
break; |
| 947 |
|
|
| 948 |
|
case 'LINKS_MOVE_CATS': |
| 949 |
|
$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'])); |
|
@@ 948-950 (lines=3) @@
|
| 945 |
|
$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'])); |
| 946 |
|
break; |
| 947 |
|
|
| 948 |
|
case 'LINKS_MOVE_CATS': |
| 949 |
|
$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'])); |
| 950 |
|
break; |
| 951 |
|
|
| 952 |
|
case '_MOVE_CATS': |
| 953 |
|
$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'])); |
|
@@ 952-954 (lines=3) @@
|
| 949 |
|
$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'])); |
| 950 |
|
break; |
| 951 |
|
|
| 952 |
|
case '_MOVE_CATS': |
| 953 |
|
$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'])); |
| 954 |
|
break; |
| 955 |
|
|
| 956 |
|
case 'MOVE_LINKS_': |
| 957 |
|
$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'])); |
|
@@ 956-958 (lines=3) @@
|
| 953 |
|
$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'])); |
| 954 |
|
break; |
| 955 |
|
|
| 956 |
|
case 'MOVE_LINKS_': |
| 957 |
|
$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'])); |
| 958 |
|
break; |
| 959 |
|
|
| 960 |
|
case 'LINKS_CATS': |
| 961 |
|
$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'])); |
|
@@ 960-962 (lines=3) @@
|
| 957 |
|
$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'])); |
| 958 |
|
break; |
| 959 |
|
|
| 960 |
|
case 'LINKS_CATS': |
| 961 |
|
$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'])); |
| 962 |
|
break; |
| 963 |
|
|
| 964 |
|
case '_CATS': |
| 965 |
|
$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'])); |
|
@@ 964-966 (lines=3) @@
|
| 961 |
|
$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'])); |
| 962 |
|
break; |
| 963 |
|
|
| 964 |
|
case '_CATS': |
| 965 |
|
$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'])); |
| 966 |
|
break; |
| 967 |
|
|
| 968 |
|
case 'LINKS_': |
| 969 |
|
$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'])); |
|
@@ 968-970 (lines=3) @@
|
| 965 |
|
$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'])); |
| 966 |
|
break; |
| 967 |
|
|
| 968 |
|
case 'LINKS_': |
| 969 |
|
$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'])); |
| 970 |
|
break; |
| 971 |
|
|
| 972 |
|
default: |
| 973 |
|
$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'])); |
|
@@ 972-974 (lines=3) @@
|
| 969 |
|
$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'])); |
| 970 |
|
break; |
| 971 |
|
|
| 972 |
|
default: |
| 973 |
|
$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'])); |
| 974 |
|
break; |
| 975 |
|
} |
| 976 |
|
|
| 977 |
|
return $this->errors; |