@@ 932-934 (lines=3) @@ | ||
929 | ||
930 | switch ($log_action) |
|
931 | { |
|
932 | case 'MOVE_LINKS_MOVE_CATS': |
|
933 | $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'])); |
|
934 | break; |
|
935 | ||
936 | case 'MOVE_LINKS_CATS': |
|
937 | $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'])); |
|
@@ 936-938 (lines=3) @@ | ||
933 | $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'])); |
|
934 | break; |
|
935 | ||
936 | case 'MOVE_LINKS_CATS': |
|
937 | $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'])); |
|
938 | break; |
|
939 | ||
940 | case 'LINKS_MOVE_CATS': |
|
941 | $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'])); |
|
@@ 940-942 (lines=3) @@ | ||
937 | $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'])); |
|
938 | break; |
|
939 | ||
940 | case 'LINKS_MOVE_CATS': |
|
941 | $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'])); |
|
942 | break; |
|
943 | ||
944 | case '_MOVE_CATS': |
|
945 | $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'])); |
|
@@ 944-946 (lines=3) @@ | ||
941 | $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'])); |
|
942 | break; |
|
943 | ||
944 | case '_MOVE_CATS': |
|
945 | $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'])); |
|
946 | break; |
|
947 | ||
948 | case 'MOVE_LINKS_': |
|
949 | $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'])); |
|
@@ 948-950 (lines=3) @@ | ||
945 | $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'])); |
|
946 | break; |
|
947 | ||
948 | case 'MOVE_LINKS_': |
|
949 | $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'])); |
|
950 | break; |
|
951 | ||
952 | case 'LINKS_CATS': |
|
953 | $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'])); |
|
@@ 952-954 (lines=3) @@ | ||
949 | $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'])); |
|
950 | break; |
|
951 | ||
952 | case 'LINKS_CATS': |
|
953 | $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'])); |
|
954 | break; |
|
955 | ||
956 | case '_CATS': |
|
957 | $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'])); |
|
@@ 956-958 (lines=3) @@ | ||
953 | $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'])); |
|
954 | break; |
|
955 | ||
956 | case '_CATS': |
|
957 | $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'])); |
|
958 | break; |
|
959 | ||
960 | case 'LINKS_': |
|
961 | $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'])); |
|
@@ 960-962 (lines=3) @@ | ||
957 | $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'])); |
|
958 | break; |
|
959 | ||
960 | case 'LINKS_': |
|
961 | $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'])); |
|
962 | break; |
|
963 | ||
964 | default: |
|
965 | $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'])); |
|
@@ 964-966 (lines=3) @@ | ||
961 | $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'])); |
|
962 | break; |
|
963 | ||
964 | default: |
|
965 | $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'])); |
|
966 | break; |
|
967 | } |
|
968 | } |
|
969 |