File tree Expand file tree Collapse file tree 1 file changed +0
-21
lines changed
Expand file tree Collapse file tree 1 file changed +0
-21
lines changed Original file line number Diff line number Diff line change @@ -485,27 +485,6 @@ public function setUp($options = []) {
485485 $ this ->updateApiURL ();
486486 }
487487
488- /**
489- * Set up one of properties
490- *
491- * @param array $options array of given properties
492- * @param string $name name of property to process
493- * @param string $constant load default property value from constant
494- */
495- public function setupProperty ($ options , $ name , $ constant = null ) {
496- if (array_key_exists ($ name , $ options )) {
497- $ this ->$ name = $ options [$ name ];
498- } elseif (array_key_exists ($ constant , $ options )) {
499- $ this ->$ name = $ options [$ constant ];
500- } elseif (property_exists ($ this , $ name ) && ($ env = getenv ($ constant )) && !empty ($ env )) {
501- $ this ->$ name = getenv ($ constant );
502- } else {
503- if (property_exists ($ this , $ name ) && !empty ($ constant ) && defined ($ constant )) {
504- $ this ->$ name = constant ($ constant );
505- }
506- }
507- }
508-
509488 /**
510489 * Convert companyUrl provided by CustomButton to options array
511490 *
You can’t perform that action at this time.
0 commit comments