Changeset:
        1b4f33a41b63
        
https://sourceforge.net/p/mrbs/hg-code/ci/1b4f33a41b637bce1c7abfebf430416b0afda159
Author:
        Campbell Morrison <[email protected]>
Date:
        Thu Sep 29 18:09:42 2016 +0100
Log message:

Added 'public' to function declarations for clarity

diffstat:

 web/lib/MRBS/DB.php |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (30 lines):

diff -r 04f826d24768 -r 1b4f33a41b63 web/lib/MRBS/DB.php
--- a/web/lib/MRBS/DB.php       Thu Sep 29 18:03:48 2016 +0100
+++ b/web/lib/MRBS/DB.php       Thu Sep 29 18:09:42 2016 +0100
@@ -211,7 +211,7 @@
   
   
   // Commit (end) a transaction. See begin().
-  function commit()
+  public function commit()
   {
     $result = $this->command("COMMIT");
     mrbs_ignore_user_abort(FALSE);
@@ -219,7 +219,7 @@
 
   
   // Roll back a transaction, aborting it. See begin().
-  function rollback()
+  public function rollback()
   {
     $result = $this->command("ROLLBACK", array());
     mrbs_ignore_user_abort(FALSE);
@@ -227,7 +227,7 @@
 
 
   // Return a string identifying the database version
-  function version()
+  public function version()
   {
     return $this->query1("SELECT VERSION()");
   }

------------------------------------------------------------------------------
_______________________________________________
Mrbs-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mrbs-commits

Reply via email to