- added announcements to titles and error-page

- file inclusion:
    - now only require without brackets
    - classes for ListTypes are auto-loaded
- (minor) empty array to new syntax (php5+)
This commit is contained in:
Sarjuuk
2013-03-04 20:54:03 +01:00
parent a20703f35b
commit 3f69a9ab49
25 changed files with 164 additions and 164 deletions

View File

@@ -15,14 +15,14 @@ class CommunityContent
private function getComments($type, $typeId)
{
// comments
return array();
return [];
}
private function getVideos($type, $typeId)
{
return DB::Aowow()->Query("
SELECT
v.Id,
v.Id,
a.displayName AS user,
v.date,
v.videoId,