Skip to content

Commit

Permalink
Dev: removed scope because of massive exceptions on mssql
Browse files Browse the repository at this point in the history
  • Loading branch information
lacrioque committed Dec 20, 2018
1 parent 8438122 commit 3593be4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 10 deletions.
6 changes: 1 addition & 5 deletions application/models/Question.php
Original file line number Diff line number Diff line change
Expand Up @@ -218,11 +218,7 @@ public function rules()
}
return $aRules;
}

public function defaultScope()
{
return array('order'=>'question_order');
}



/**
Expand Down
6 changes: 1 addition & 5 deletions application/models/QuestionGroup.php
Original file line number Diff line number Diff line change
Expand Up @@ -78,11 +78,7 @@ public function relations()
'questionGroupL10ns' => array(self::HAS_MANY, 'QuestionGroupL10n', 'gid', 'together' => true)
);
}

public function defaultScope()
{
return array('order'=>'group_order');
}


/**
* @param integer $iSurveyId
Expand Down

0 comments on commit 3593be4

Please sign in to comment.