mirror of
https://github.com/Sarjuuk/aowow.git
synced 2025-11-29 15:58:16 +08:00
removing smarty - part XII
- readded quest/quests, zones - delayed filter-evaluation, also linked filterObj to page to be applied to cacheKey - added check for modulo calculation with floats (fixes "0 years" - duarions) Quests: * added category-locales * creating objectives shouldn't be quite as intensive anymore
This commit is contained in:
@@ -29,8 +29,8 @@ class SkillsPage extends GenericPage
|
||||
protected function generateContent()
|
||||
{
|
||||
$conditions = [];
|
||||
if (User::isInGroup(U_GROUP_EMPLOYEE))
|
||||
$conditions[] = ['categoryId', 12, '!']; // GENERIC (DND)
|
||||
if (!User::isInGroup(U_GROUP_EMPLOYEE))
|
||||
$conditions[] = ['categoryId', 12, '!']; // GENERIC (DND)
|
||||
|
||||
if ($this->category)
|
||||
$conditions[] = ['typeCat', $this->category[0]];
|
||||
|
||||
Reference in New Issue
Block a user