Projekt

Obecné

Profil

« Předchozí | Další » 

Revize 2100

Přidáno uživatelem Ondřej Fibich před více než 11 roky(ů)

Upravy:
- pridani drobnych komentaru k minulym jeffovym upravam

Opravy:
- fixes #712: Neodesila SMS pri prijate platbe (chyba se objevovala pouze v scheduleru)

Zobrazit rozdíly:

freenetis/branches/1.1/application/libraries/Bank_Statement_File_Importer.php
{
$user_id = Session::instance()->get('user_id', NULL); // logged user
if ($user_id) // not logged => scheduler => association user
if (!$user_id) // not logged => scheduler => association user
{
$association = new Member_Model(Member_Model::ASSOCIATION);
$user_id = $association->get_main_user();
freenetis/branches/1.1/application/libraries/MY_Controller.php
// is this page favourite
$this->is_favourite = $pm->is_users_favourite($this->user_id, url_lang::current());
// gets account id of memeber
// gets account id of memeber (do not use Member_Model::ASSOCIATION here!)
if ($this->acl_check_view('Accounts_Controller', 'transfers', $this->member_id) &&
$this->member_id != 1)
{
......
}
// menu favourites
$this->user_favourites_pages =
$pm->get_users_favourites($this->user_id);
$this->user_favourites_pages = $pm->get_users_favourites($this->user_id);
}
/**
freenetis/branches/1.1/application/models/preprocessor.php
*
*/
/*
/**
* Due to memory consumption optimalizations some methods has been moved to this
* class. Preprocessor now only loads one model for all these methods instead of
* one model for each method.
*
* @author David Raška
*/
class Preprocessor_Model extends Model
{

Také k dispozici: Unified diff