Subversion Repositories SmartDukaan

Rev

Rev 14928 | Rev 14970 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 14928 Rev 14929
Line 69... Line 69...
69
		}	
69
		}	
70
		$this->apihost = Configure::read('pythonapihost');
70
		$this->apihost = Configure::read('pythonapihost');
71
		$this->limit = Configure::read('dealsperpage');	
71
		$this->limit = Configure::read('dealsperpage');	
72
		$staticVersion = Configure::read('staticversion');
72
		$staticVersion = Configure::read('staticversion');
73
		$this->set('staticversion',$staticVersion);
73
		$this->set('staticversion',$staticVersion);
74
		$this->set('requiremobileverification',Configure::read('requiremobileverification'));	
74
		$this->set('requiremobileverification',Configure::read('requiremobileverification'));			
75
		$this->loadModel('NotificationRule');
-
 
76
		$notification = $this->NotificationRule->getNotification($this->Auth->User('id'));	
-
 
77
		$this->set('notification',$notification);
-
 
78
    }
75
    }
79
	
76
	
80
    function isAuthorized() {
77
    function isAuthorized() {
81
        return $this->Auth->user('id');
78
        return $this->Auth->user('id');
82
    }
79
    }