]> gitweb.fluxo.info Git - lorea/elgg.git/commitdiff
because river entry is deleted we do not need to do an update
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>
Tue, 1 Mar 2011 23:13:33 +0000 (23:13 +0000)
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>
Tue, 1 Mar 2011 23:13:33 +0000 (23:13 +0000)
git-svn-id: http://code.elgg.org/elgg/trunk@8549 36083f99-b078-4883-b0ff-0f9b5a30f544

mod/blog/actions/blog/save.php

index 704f0fc6d3001b92e507af25a543899223d71d51..5dccab45de09911e2be6466a0dfda9139c9b8028 100644 (file)
@@ -161,10 +161,6 @@ if (!$error) {
                                $q = "UPDATE {$db_prefix}entities SET time_created = '$date'
                                        WHERE guid = $guid";
                                update_data($q);
-
-                               $q = "UPDATE {$db_prefix}river SET posted = '$date'
-                                       WHERE object_guid = $guid AND action_type = 'create'";
-                               update_data($q);
                        }
                } elseif ($old_status == 'published' && $status == 'draft') {
                        $q = "DELETE FROM {$db_prefix}river