Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Merge branch dev into hooks
  • Loading branch information
beaver-dev committed Aug 24, 2015
commit dfaffe1e08c951ad22f6114e18dad881b3d14d03
8 changes: 2 additions & 6 deletions model/admin/groups.php
Original file line number Diff line number Diff line change
Expand Up @@ -251,15 +251,11 @@ public function add_edit_group($groups)
}
}

// Regenerate the quick jump cache
if (!defined('FORUM_CACHE_FUNCTIONS_LOADED')) {
require FEATHER_ROOT.'include/cache.php';
}

$group_id = $this->request->post('mode') == 'add' ? $new_group_id : $this->request->post('group_id');
$group_id = $this->hook->fire('add_edit_group.group_id', $group_id);

generate_quickjump_cache($group_id);
// Regenerate the quick jump cache
$this->feather->cache->store('quickjump', \model\cache::get_quickjump());

if ($this->request->post('mode') == 'edit') {
redirect(get_link('admin/groups/'), __('Group edited redirect'));
Expand Down
You are viewing a condensed version of this merge commit. You can view the full changes here.