Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHugues Peccatte <hugues.peccatte@gmail.com>2019-01-12 03:33:22 +0300
committerHugues Peccatte <hugues.peccatte@gmail.com>2019-01-12 03:33:22 +0300
commit68b88d0537967394bd375bc4ff3b63819e136a7f (patch)
treec9cb61b4768ac68c184684de4e9c105e02268f20 /examples
parentdd74c497d9a3c209807dcd8db4206b63f7d504a3 (diff)
Remove useless variables before return
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
Diffstat (limited to 'examples')
-rw-r--r--examples/signon-script.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/examples/signon-script.php b/examples/signon-script.php
index 202dca8c05..175c7f7869 100644
--- a/examples/signon-script.php
+++ b/examples/signon-script.php
@@ -32,10 +32,8 @@ function get_login_credentials($user)
}
/* Here we would retrieve the credentials */
- $credentials = [
+ return [
'root',
'',
];
-
- return $credentials;
}