2c2 < index 7206a96..b48322f 100644 --- > index 7206a96..b2ce81c 100644 5c5 < @@ -32,15 +32,15 @@ class DbtngExampleStorage { --- > @@ -32,15 +32,14 @@ class DbtngExampleStorage { 10a11,12 > - } > - catch (\Exception $e) { 13,14c15 < } < catch (\Exception $e) { --- > + } catch (\Exception $e) { 18c19 < ) --- > - ) 19a21 > + ) 24,34c26,30 < @@ -60,16 +60,16 @@ class DbtngExampleStorage { < try { < // db_update()...->execute() returns the number of rows updated. < $count = db_update('dbtng_example') < - ->fields($entry) < - ->condition('pid', $entry['pid']) < - ->execute(); < + ->fields($entry) < + ->condition('pid', $entry['pid']) < + ->execute(); < } --- > @@ -63,13 +62,12 @@ class DbtngExampleStorage { > ->fields($entry) > ->condition('pid', $entry['pid']) > ->execute(); > - } 36c32 < + catch (\Exception $e) { --- > + } catch (\Exception $e) { 40c36 < ) --- > - ) 41a38 > + ) 46,57c43 < @@ -85,8 +85,8 @@ class DbtngExampleStorage { < */ < public static function delete($entry) { < db_delete('dbtng_example') < - ->condition('pid', $entry['pid']) < - ->execute(); < + ->condition('pid', $entry['pid']) < + ->execute(); < } < < /** < @@ -102,7 +102,10 @@ class DbtngExampleStorage { --- > @@ -102,7 +100,10 @@ class DbtngExampleStorage { 69c55 < @@ -110,30 +113,24 @@ class DbtngExampleStorage { --- > @@ -110,30 +111,24 @@ class DbtngExampleStorage { 100c86 < @@ -141,7 +138,6 @@ class DbtngExampleStorage { --- > @@ -141,7 +136,6 @@ class DbtngExampleStorage {