[ticket/588] Fix code sniffer issues in portal files [ci skip]

B3P-588
This commit is contained in:
Marc Alexander
2015-06-13 16:18:03 +02:00
parent adfdc0c817
commit 2c633fe567
2 changed files with 2 additions and 2 deletions

View File

@@ -173,7 +173,7 @@ class welcome extends module_base
$u_action = append_sid('index.' . $this->php_ext, 'i=-board3-portal-acp-portal_module&mode=config&module_id=' . $module_id); $u_action = append_sid('index.' . $this->php_ext, 'i=-board3-portal-acp-portal_module&mode=config&module_id=' . $module_id);
switch($action) switch ($action)
{ {
// Save changes // Save changes
case 'save': case 'save':

View File

@@ -349,7 +349,7 @@ class fetch_posts
*/ */
protected function get_type_constraints() protected function get_type_constraints()
{ {
switch($this->type) switch ($this->type)
{ {
case "announcements": case "announcements":
$this->get_announcements_constraints(); $this->get_announcements_constraints();