commit a8feed8f512285f2dfb14075b907c6a3c1411c1e
parent bbf1af3584021e9d9084a2d68f0bebccb5f2e419
Author: dankert <devnull@localhost>
Date: Tue, 5 Oct 2010 23:58:20 +0200
Korrekte Hinweismeldung nach Hinzufügen eines Projektes.
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/actionClasses/ProjectAction.class.php b/actionClasses/ProjectAction.class.php
@@ -100,18 +100,19 @@ class ProjectAction extends Action
$this->project = new Project();
$this->project->name = $this->getRequestVar('name');
$this->project->add();
+ $this->addNotice('project',$this->project->name,'ADDED');
break;
case 'copy':
$db = db_connection();
$project = new Project($this->getRequestVar('projectid'));
$project->load();
$project->export($db->id);
+ $this->addNotice('project',$project->name,'DONE');
break;
default:
Http::serverError('Unknown type while adding project '.$this->getRequestVar('type') );
}
- $this->addNotice('project',$this->project->name,'ADDED');
}
}