Rapsys Git
/
airbundle
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove donate, link and profile
[airbundle]
/
Entity
/
Snippet.php
diff --git
a/Entity/Snippet.php
b/Entity/Snippet.php
index 4e9d406c2b10572a3e48a29c6e59a0cc1d6a4c5f..ee5b262e78f600007529b2d12b5782463324ec05 100644
(file)
--- a/
Entity/Snippet.php
+++ b/
Entity/Snippet.php
@@
-96,6
+96,7
@@
class Snippet {
* Constructor
*/
public function __construct() {
* Constructor
*/
public function __construct() {
+ //Set defaults
$this->description = null;
$this->class = null;
$this->short = null;
$this->description = null;
$this->class = null;
$this->short = null;
@@
-105,6
+106,9
@@
class Snippet {
$this->donate = null;
$this->link = null;
$this->profile = null;
$this->donate = null;
$this->link = null;
$this->profile = null;
+ $this->created = new \DateTime('now');
+ $this->updated = new \DateTime('now');
+ $this->location = null;
}
/**
}
/**