Skip to content

Commit 7d9bc95

Browse files
Remove no longer used projects/members data from home page
1 parent 72312ab commit 7d9bc95

File tree

1 file changed

+0
-53
lines changed

1 file changed

+0
-53
lines changed

site-root/home.php

Lines changed: 0 additions & 53 deletions
Original file line numberDiff line numberDiff line change
@@ -34,59 +34,6 @@
3434
}
3535

3636

37-
// projects
38-
$pageData['projectsTotal'] = Laddr\Project::getCount();
39-
$pageData['projectsTags']['byTech'] = TagItem::getTagsSummary(array(
40-
'tagConditions' => array(
41-
'Handle LIKE "tech.%"'
42-
)
43-
,'itemConditions' => array(
44-
'ContextClass' => Laddr\Project::getStaticRootClass()
45-
)
46-
,'limit' => 10
47-
));
48-
$pageData['projectsTags']['byTopic'] = TagItem::getTagsSummary(array(
49-
'tagConditions' => array(
50-
'Handle LIKE "topic.%"'
51-
)
52-
,'itemConditions' => array(
53-
'ContextClass' => Laddr\Project::getStaticRootClass()
54-
)
55-
,'limit' => 10
56-
));
57-
$pageData['projectsTags']['byEvent'] = TagItem::getTagsSummary(array(
58-
'tagConditions' => array(
59-
'Handle LIKE "event.%"'
60-
)
61-
,'itemConditions' => array(
62-
'ContextClass' => Laddr\Project::getStaticRootClass()
63-
)
64-
));
65-
$pageData['projectsStages'] = Laddr\Project::getStagesSummary();
66-
67-
68-
// members
69-
$pageData['membersTotal'] = Emergence\People\Person::getCount();
70-
$pageData['membersTags']['byTech'] = TagItem::getTagsSummary(array(
71-
'tagConditions' => array(
72-
'Handle LIKE "tech.%"'
73-
)
74-
,'itemConditions' => array(
75-
'ContextClass' => Emergence\People\Person::getStaticRootClass()
76-
)
77-
,'limit' => 10
78-
));
79-
$pageData['membersTags']['byTopic'] = TagItem::getTagsSummary(array(
80-
'tagConditions' => array(
81-
'Handle LIKE "topic.%"'
82-
)
83-
,'itemConditions' => array(
84-
'ContextClass' => Emergence\People\Person::getStaticRootClass()
85-
)
86-
,'limit' => 10
87-
));
88-
89-
9037
// build activity stream
9138
if (!$pageData['activity'] = Cache::fetch('home-activity')) {
9239
$existingTables = \DB::allValues('table_name', 'SELECT table_name FROM information_schema.TABLES WHERE TABLE_SCHEMA = SCHEMA()');

0 commit comments

Comments
 (0)