Removed unused variables.
This commit is contained in:
parent
52882ef938
commit
55993352bf
3 changed files with 1 additions and 3 deletions
|
@ -178,7 +178,7 @@ class LoginController extends Zend_Controller_Action
|
||||||
$authAdapter->setIdentity($user->getDbLogin())
|
$authAdapter->setIdentity($user->getDbLogin())
|
||||||
->setCredential($form->password->getValue());
|
->setCredential($form->password->getValue());
|
||||||
|
|
||||||
$result = $zend_auth->authenticate($authAdapter);
|
$zend_auth->authenticate($authAdapter);
|
||||||
|
|
||||||
//all info about this user from the login table omit only the password
|
//all info about this user from the login table omit only the password
|
||||||
$userInfo = $authAdapter->getResultRowObject(null, 'password');
|
$userInfo = $authAdapter->getResultRowObject(null, 'password');
|
||||||
|
|
|
@ -392,7 +392,6 @@ class ScheduleController extends Zend_Controller_Action
|
||||||
{
|
{
|
||||||
$showInstanceId = $this->sched_sess->showInstanceId;
|
$showInstanceId = $this->sched_sess->showInstanceId;
|
||||||
$group_id = $this->_getParam('groupId');
|
$group_id = $this->_getParam('groupId');
|
||||||
$search = $this->_getParam('search', null);
|
|
||||||
|
|
||||||
$userInfo = Zend_Auth::getInstance()->getStorage()->read();
|
$userInfo = Zend_Auth::getInstance()->getStorage()->read();
|
||||||
$user = new Application_Model_User($userInfo->id);
|
$user = new Application_Model_User($userInfo->id);
|
||||||
|
|
|
@ -446,7 +446,6 @@ class Application_Form_SmartBlockCriteria extends Zend_Form_SubForm
|
||||||
foreach ($data['criteria'] as $rowKey=>$row) {
|
foreach ($data['criteria'] as $rowKey=>$row) {
|
||||||
foreach ($row as $key=>$d) {
|
foreach ($row as $key=>$d) {
|
||||||
$element = $this->getElement("sp_criteria_field_".$rowKey."_".$key);
|
$element = $this->getElement("sp_criteria_field_".$rowKey."_".$key);
|
||||||
$error = array();
|
|
||||||
// check for not selected select box
|
// check for not selected select box
|
||||||
if ($d['sp_criteria_field'] == "0" || $d['sp_criteria_modifier'] == "0") {
|
if ($d['sp_criteria_field'] == "0" || $d['sp_criteria_modifier'] == "0") {
|
||||||
$element->addError("You must select Criteria and Modifier");
|
$element->addError("You must select Criteria and Modifier");
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue