summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--models/Post.php5
-rw-r--r--views/.DS_Storebin12292 -> 0 bytes
2 files changed, 5 insertions, 0 deletions
diff --git a/models/Post.php b/models/Post.php
index 653beb2..58e2487 100644
--- a/models/Post.php
+++ b/models/Post.php
@@ -124,6 +124,11 @@ class Post extends \lithium\data\Model {
return $result;
}
+ /**
+ * Stores the post to the database
+ * @param Post $entity The post to store.
+ * @param User $user The user to store the post to.
+ */
public function store($entity, $user)
{
$updateData = array('$push' => array('feed' => $entity['_id']->__toString()));
diff --git a/views/.DS_Store b/views/.DS_Store
deleted file mode 100644
index 91c6902..0000000
--- a/views/.DS_Store
+++ /dev/null
Binary files differ