]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Merge branch '0.9.x' into 1.0.x
authorBrion Vibber <brion@pobox.com>
Sat, 18 Dec 2010 01:13:21 +0000 (17:13 -0800)
committerBrion Vibber <brion@pobox.com>
Sat, 18 Dec 2010 01:13:21 +0000 (17:13 -0800)
Conflicts:
classes/Memcached_DataObject.php

1  2 
EVENTS.txt
actions/showstream.php
classes/Memcached_DataObject.php
classes/Notice.php
classes/Notice_tag.php
classes/Profile.php
classes/User.php
db/statusnet.sql
lib/router.php
plugins/LdapCommon/LdapCommon.php

diff --cc EVENTS.txt
Simple merge
Simple merge
index 27bb5d3c9d6e32f58063f9e1320b5daa711d123f,eb5d2627f27efc664d45ff530305334dd19cc4ae..f71bfd3da055530a03855514d4c687ac3664ec3e
@@@ -338,11 -338,10 +338,15 @@@ class Memcached_DataObject extends Safe
          }
  
          $start = microtime(true);
-         try {
-             $result = parent::_query($string);
-         } catch (Exception $e) {
-             $fail = $e;
 +        $fail = false;
 -            $result = parent::_query($string);
+         $result = null;
+         if (Event::handle('StartDBQuery', array($this, $string, &$result))) {
++            try {
++                $result = parent::_query($string);
++            } catch (Exception $e) {
++                $fail = $e;
++            }
+             Event::handle('EndDBQuery', array($this, $string, &$result));
          }
          $delta = microtime(true) - $start;
  
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
diff --cc lib/router.php
Simple merge
Simple merge