Migrate project owners to the project member table
... to keep project membership tidy and centralized This puts organizer fitlers out of commission for now
This commit is contained in:
@@ -2,15 +2,12 @@
|
||||
namespace pvv\side;
|
||||
|
||||
class Project{
|
||||
private $id, $name, $owner, $owneruname, $owneremail, $descr, $active;
|
||||
private $id, $name, $descr, $active;
|
||||
|
||||
public function __construct($id, $name, $descr, $owner, $owneruname, $owneremail, $active){
|
||||
public function __construct($id, $name, $descr, $active){
|
||||
$this->id = $id;
|
||||
$this->name = $name;
|
||||
$this->descr = explode("\n", $descr);
|
||||
$this->owner = $owner;
|
||||
$this->owneruname = $owneruname;
|
||||
$this->owneremail = $owneremail;
|
||||
$this->active = $active;
|
||||
}
|
||||
|
||||
@@ -26,18 +23,6 @@ class Project{
|
||||
return $this->descr;
|
||||
}
|
||||
|
||||
public function getOwner(){
|
||||
return $this->owner;
|
||||
}
|
||||
|
||||
public function getOwnerUName(){
|
||||
return $this->owneruname;
|
||||
}
|
||||
|
||||
public function getOwnerEmail(){
|
||||
return $this->owneremail;
|
||||
}
|
||||
|
||||
public function getActive(){
|
||||
return $this->active;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user