This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "FusionForge".

The branch, master has been updated
       via  fc93d8176b50aa9f46b9fd93f9d7dc5a9cd84262 (commit)
      from  3855b6803d461f1efaa727802be9878cf45f6dde (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
https://scm.fusionforge.org/anonscm/gitweb/?p=fusionforge/fusionforge.git;a=commitdiff;h=fc93d8176b50aa9f46b9fd93f9d7dc5a9cd84262

commit fc93d8176b50aa9f46b9fd93f9d7dc5a9cd84262
Author: Franck Villaume <[email protected]>
Date:   Tue Jul 30 18:04:09 2019 +0200

    fix PHP syntax against PHPUnit 7

diff --git a/src/plugins/wiki/www/lib/WikiDB/adodb/adodb-xmlschema.inc.php 
b/src/plugins/wiki/www/lib/WikiDB/adodb/adodb-xmlschema.inc.php
index 72a9f9b..2509135 100644
--- a/src/plugins/wiki/www/lib/WikiDB/adodb/adodb-xmlschema.inc.php
+++ b/src/plugins/wiki/www/lib/WikiDB/adodb/adodb-xmlschema.inc.php
@@ -156,9 +156,7 @@ class dbObject {
        /**
        * Destroys the object
        */
-       function destroy() {
-               unset( $this );
-       }
+       function __destroy() {}
 
        /**
        * Checks whether the specified RDBMS is supported by the current
@@ -347,7 +345,7 @@ class dbTable extends dbObject {
                        case 'TABLE':
                                $this->parent->addSQL( $this->create( 
$this->parent ) );
                                xml_set_object( $parser, $this->parent );
-                               $this->destroy();
+                               $this->__destroy();
                                break;
                        case 'FIELD':
                                unset($this->current_field);
@@ -1064,7 +1062,7 @@ class dbQuerySet extends dbObject {
                        case 'SQL':
                                $this->parent->addSQL( $this->create( 
$this->parent ) );
                                xml_set_object( $parser, $this->parent );
-                               $this->destroy();
+                               $this->__destroy();
                                break;
                        default:
 
diff --git a/src/plugins/wiki/www/lib/WikiDB/adodb/adodb-xmlschema03.inc.php 
b/src/plugins/wiki/www/lib/WikiDB/adodb/adodb-xmlschema03.inc.php
index 3ed5aec..c38aa86 100644
--- a/src/plugins/wiki/www/lib/WikiDB/adodb/adodb-xmlschema03.inc.php
+++ b/src/plugins/wiki/www/lib/WikiDB/adodb/adodb-xmlschema03.inc.php
@@ -174,9 +174,7 @@ class dbObject {
        /**
        * Destroys the object
        */
-       function destroy() {
-               unset( $this );
-       }
+       function __destroy() {}
 
        /**
        * Checks whether the specified RDBMS is supported by the current
@@ -379,7 +377,7 @@ class dbTable extends dbObject {
                        case 'TABLE':
                                $this->parent->addSQL( $this->create( 
$this->parent ) );
                                xml_set_object( $parser, $this->parent );
-                               $this->destroy();
+                               $this->__destroy();
                                break;
                        case 'FIELD':
                                unset($this->current_field);
@@ -1163,7 +1161,7 @@ class dbQuerySet extends dbObject {
                        case 'SQL':
                                $this->parent->addSQL( $this->create( 
$this->parent ) );
                                xml_set_object( $parser, $this->parent );
-                               $this->destroy();
+                               $this->__destroy();
                                break;
                        default:
 

-----------------------------------------------------------------------

Summary of changes:
 src/plugins/wiki/www/lib/WikiDB/adodb/adodb-xmlschema.inc.php   | 8 +++-----
 src/plugins/wiki/www/lib/WikiDB/adodb/adodb-xmlschema03.inc.php | 8 +++-----
 2 files changed, 6 insertions(+), 10 deletions(-)


hooks/post-receive
-- 
FusionForge

_______________________________________________
Fusionforge-commits mailing list
[email protected]
http://lists.fusionforge.org/cgi-bin/mailman/listinfo/fusionforge-commits

Reply via email to