Skip to content

Commit

Permalink
comit
Browse files Browse the repository at this point in the history
  • Loading branch information
abhikchakraborty committed Dec 31, 2012
1 parent 39542c4 commit 77a72d8
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions class/ProjectDiscuss.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -287,6 +287,10 @@ function eventAjaxProjectTaskDiscussion(EventControler $event_controler) {
*/
function eventSendDiscussMessageByEmail(EventControler $event_controler) {
$this->setLog("\n eventSendDiscussMessageByEmail: starting (".date("Y/m/d H:i:s"));

$_SESSION['do_project_task']->getId($event_controler->idproject_task);
$_SESSION['do_project']->getId($event_controler->idproject);

try {
$co_workers = $_SESSION["do_project"]->getProjectCoWorkers();
// print_r($co_workers);exit;
Expand All @@ -295,6 +299,7 @@ function eventSendDiscussMessageByEmail(EventControler $event_controler) {
$email_nudge = new EmailTemplate("ofuz_project_discussion_nudge");
$project_task_url = $GLOBALS['cfg_ofuz_site_http_base'].'Task/'.$_SESSION['do_project_task']->idproject_task;
$project_link = $GLOBALS['cfg_ofuz_site_http_base'].'Project/'.$_SESSION['do_project']->idproject;

if($event_controler->fields['document'] !=''){ // If a file is attached
$doc_link = $GLOBALS['cfg_ofuz_site_http_base'].'files/'.$event_controler->fields['document'];
$doc_text = '<br />'._('Attachment').': <a href="'.$doc_link.'"> '.$event_controler->fields['document'].'</a>';
Expand Down
2 changes: 1 addition & 1 deletion class/UserRelations.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -375,7 +375,7 @@ function getAllCoWorkerRelationData(){


function eventAddAsCoWorker(EventControler $evtcl) {
$this->addNew();
$this->addNew();
$this->iduser = $evtcl->iduser;
$this->idcoworker = $evtcl->idcoworker;
$this->accepted = 'No';
Expand Down
2 changes: 1 addition & 1 deletion config.php
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@

$conx = new sqlConnect("ofuzdev", "d3v5") ;
$conx->setHostname("localhost") ;
$conx->setDatabase("ofuzdev") ;
$conx->setDatabase("ofuz") ;
// Directory where pas is located
$conx->setBaseDirectory($cfg_local_pasdir) ;
// Directory where the project is located unless your config.php file is outside your project tree is should be "./"
Expand Down

0 comments on commit 77a72d8

Please sign in to comment.