<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -42,9 +42,7 @@
         Post::check_url($_POST['slug']));
     }
     
-    public function update() {
-			$post = new Post($_POST['id']);
-			
+    public function update($post) {
       if (empty($_POST['code']))
         error(__(&quot;Error&quot;), __(&quot;Body can't be blank.&quot;));
       if (empty($_POST['language']))</diff>
      <filename>code.php</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>e2ac033f6766364bd71b9123bc7610e1a8ca0380</id>
    </parent>
  </parents>
  <author>
    <name>Matt Pruitt</name>
    <email>guitsaru@gmail.com</email>
  </author>
  <url>http://github.com/guitsaru/code-feather/commit/3021e84f02f98fd70651093b0d216eb1bceb0369</url>
  <id>3021e84f02f98fd70651093b0d216eb1bceb0369</id>
  <committed-date>2008-08-23T23:05:47-07:00</committed-date>
  <authored-date>2008-08-23T23:05:47-07:00</authored-date>
  <message>Updated for post RC1</message>
  <tree>8328f4d0339703c50ec6da921542788537ed5b70</tree>
  <committer>
    <name>Matt Pruitt</name>
    <email>guitsaru@gmail.com</email>
  </committer>
</commit>
