diff options
author | Bjoern Schiessle <bjoern@schiessle.org> | 2017-04-24 13:37:53 +0200 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2017-04-28 23:41:36 -0300 |
commit | f32304ffb9a88c02a553d9da12a44956830eb093 (patch) | |
tree | 04fbd9c0b9b1c0da5903344290d26750826e4d1a /settings/BackgroundJobs | |
parent | 5c202884e9596a47d38f5432b66117bcca373dc6 (diff) | |
download | nextcloud-server-f32304ffb9a88c02a553d9da12a44956830eb093.tar.gz nextcloud-server-f32304ffb9a88c02a553d9da12a44956830eb093.zip |
remove unused variable
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
Diffstat (limited to 'settings/BackgroundJobs')
-rw-r--r-- | settings/BackgroundJobs/VerifyUserData.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/settings/BackgroundJobs/VerifyUserData.php b/settings/BackgroundJobs/VerifyUserData.php index 111939707d5..2ec0ce2ea13 100644 --- a/settings/BackgroundJobs/VerifyUserData.php +++ b/settings/BackgroundJobs/VerifyUserData.php @@ -149,7 +149,7 @@ class VerifyUserData extends Job { $result = true; $publishedCode = $response->getBody(); // remove new lines and spaces - $publishedCodeSanitized = $string = trim(preg_replace('/\s\s+/', ' ', $publishedCode)); + $publishedCodeSanitized = trim(preg_replace('/\s\s+/', ' ', $publishedCode)); $user = $this->userManager->get($argument['uid']); // we don't check a valid user -> give up if ($user === null) { |