]> Kevux Git Server - koopa/commitdiff
Cleanup: remove action_property and action_parameter where not used
authorKevin Day <thekevinday@gmail.com>
Mon, 3 Dec 2018 03:49:35 +0000 (21:49 -0600)
committerKevin Day <thekevinday@gmail.com>
Mon, 3 Dec 2018 03:49:35 +0000 (21:49 -0600)
common/database/classes/database_alter_domain.php
common/database/classes/database_alter_event_trigger.php
common/database/classes/database_alter_foreign_data_wrapper.php
common/database/classes/database_alter_foreign_table.php

index 395399e361e5a7084098fd95ffa05b2cbdf20820..3e5cfb3a277076ada19d03239e6e116d59d36aa4 100644 (file)
@@ -32,7 +32,6 @@ class c_database_alter_coalation extends c_database_query {
   use t_database_rename_to;
   use t_database_set_schema;
   use t_database_action;
-  use t_database_action_property;
 
   protected const pr_QUERY_COMMAND = 'alter domain';
 
@@ -45,12 +44,11 @@ class c_database_alter_coalation extends c_database_query {
   public function __construct() {
     parent::__construct();
 ;
-    $this->action          = NULL;
-    $this->action_property = NULL;
-    $this->name            = NULL;
-    $this->owner_to        = NULL;
-    $this->rename_to       = NULL;
-    $this->set_schema      = NULL
+    $this->action     = NULL;
+    $this->name       = NULL;
+    $this->owner_to   = NULL;
+    $this->rename_to  = NULL;
+    $this->set_schema = NULL
 
     $this->expression = NULL;
     $this->constraint = NULL;
@@ -61,7 +59,6 @@ class c_database_alter_coalation extends c_database_query {
    */
   public function __destruct() {
     unset($this->action);
-    unset($this->action_property);
     unset($this->name);
     unset($this->owner_to);
     unset($this->rename_to);
index 307c4349e75edee627b67c6b96659e6a7905e631..1cd5bcfa8624fd2a92048f289325fd5552a73ce5 100644 (file)
@@ -25,7 +25,6 @@ require_once('common/database/traits/database_rename_to.php');
 class c_database_alter_coalation extends c_database_query {
   use t_database_action;
   use t_database_action_property;
-  use t_database_action_parameter;
   use t_database_name;
   use t_database_owner_to;
   use t_database_rename_to;
@@ -39,12 +38,11 @@ class c_database_alter_coalation extends c_database_query {
   public function __construct() {
     parent::__construct();
 
-    $this->action           = NULL;
-    $this->action_property  = NULL;
-    $this->action_parameter = NULL;
-    $this->name             = NULL;
-    $this->owner_to         = NULL;
-    $this->rename_to        = NULL;
+    $this->action          = NULL;
+    $this->action_property = NULL;
+    $this->name            = NULL;
+    $this->owner_to        = NULL;
+    $this->rename_to       = NULL;
   }
 
   /**
@@ -53,7 +51,6 @@ class c_database_alter_coalation extends c_database_query {
   public function __destruct() {
     unset($this->action);
     unset($this->action_property);
-    unset($this->action_parameter);
     unset($this->name);
     unset($this->owner_to);
     unset($this->rename_to);
index 19a5f3dee5bfb4c77e862345ffbb5a32e182b5ff..6470e307f7d2d9ccb3c2e09e6cf081e4eb6f86be 100644 (file)
@@ -25,8 +25,6 @@ require_once('common/database/traits/database_validator.php');
  */
 class c_database_alter_foreign_data_wrapper extends c_database_query {
   use t_database_action;
-  use t_database_action_property;
-  use t_database_action_parameter;
   use t_database_handler;
   use t_database_name;
   use t_database_options;
@@ -43,15 +41,13 @@ class c_database_alter_foreign_data_wrapper extends c_database_query {
   public function __construct() {
     parent::__construct();
 
-    $this->action           = NULL;
-    $this->action_property  = NULL;
-    $this->action_parameter = NULL;
-    $this->handler          = NULL;
-    $this->name             = NULL;
-    $this->options          = NULL;
-    $this->owner_to         = NULL;
-    $this->rename_to        = NULL;
-    $this->validator        = NULL;
+    $this->action    = NULL;
+    $this->handler   = NULL;
+    $this->name      = NULL;
+    $this->options   = NULL;
+    $this->owner_to  = NULL;
+    $this->rename_to = NULL;
+    $this->validator = NULL;
   }
 
   /**
@@ -59,8 +55,6 @@ class c_database_alter_foreign_data_wrapper extends c_database_query {
    */
   public function __destruct() {
     unset($this->action);
-    unset($this->action_property);
-    unset($this->action_parameter);
     unset($this->handler);
     unset($this->name);
     unset($this->options);
index 7b726edf4b2dabb521b36e207e03f409f6b0b01a..64854ff54763d8dc585bf037a96bf6639196f9da 100644 (file)
@@ -23,8 +23,6 @@ require_once('common/database/traits/database_rename_to.php');
 class c_database_alter_foreign_table extends c_database_query {
   protected const pr_QUERY_COMMAND = 'alter foreign table';
   use t_database_action;
-  use t_database_action_property;
-  use t_database_action_parameter;
   use t_database_name;
   use t_database_rename_column_to;
   use t_database_rename_to;
@@ -63,8 +61,6 @@ class c_database_alter_foreign_table extends c_database_query {
     parent::__construct();
 
     $this->action           = NULL;
-    $this->action_property  = NULL;
-    $this->action_parameter = NULL;
     $this->name             = NULL;
     $this->rename_column_to = NULL;
     $this->rename_to        = NULL;
@@ -81,8 +77,6 @@ class c_database_alter_foreign_table extends c_database_query {
     parent::__destruct();
 
     unset($this->action);
-    unset($this->action_property);
-    unset($this->action_parameter);
     unset($this->name);
     unset($this->rename_column_to);
     unset($this->rename_to);