Some minor bug fixes
This commit is contained in:
@@ -3,7 +3,6 @@
|
||||
namespace Franzz\Livetrail;
|
||||
use Franzz\Objects\PhpObject;
|
||||
use Franzz\Objects\Db;
|
||||
use \Settings;
|
||||
|
||||
class Project extends PhpObject {
|
||||
|
||||
@@ -28,7 +27,6 @@ class Project extends PhpObject {
|
||||
private $sCodeName;
|
||||
private $sMode;
|
||||
private $asActive;
|
||||
private $asGeo;
|
||||
|
||||
public function __construct(Db &$oDb, $iProjectId=0) {
|
||||
parent::__construct(__CLASS__);
|
||||
@@ -195,7 +193,6 @@ class Project extends PhpObject {
|
||||
$this->sCodeName = $asProject['codename'];
|
||||
$this->sMode = $asProject['mode'];
|
||||
$this->asActive = array('from'=>$asProject['active_from'], 'to'=>$asProject['active_to']);
|
||||
$this->asGeo = array(/*'geofile'=>$asProject['geofilepath'], */'gpxfile'=>$asProject['gpxfilepath']);
|
||||
}
|
||||
else $this->addError('Error while setting project: no project ID');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user