summaryrefslogtreecommitdiffstats
path: root/lib/private/security
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2016-01-14 09:24:21 +0100
committerMorris Jobke <hey@morrisjobke.de>2016-01-14 09:24:21 +0100
commit73dd8c17de7c8ec78687b851d936d74620c5fac7 (patch)
treecb717854365d91780f90a5c3d10313f85776244c /lib/private/security
parent205fbcbfa3cf221fad23cfd3379a412aba0dd314 (diff)
downloadnextcloud-server-73dd8c17de7c8ec78687b851d936d74620c5fac7.tar.gz
nextcloud-server-73dd8c17de7c8ec78687b851d936d74620c5fac7.zip
Fix usage of PHP method within namespace
* introduced wiht 045ea4eb
Diffstat (limited to 'lib/private/security')
-rw-r--r--lib/private/security/securerandom.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/security/securerandom.php b/lib/private/security/securerandom.php
index 5cc69b92156..45cb3f17ee4 100644
--- a/lib/private/security/securerandom.php
+++ b/lib/private/security/securerandom.php
@@ -77,7 +77,7 @@ class SecureRandom implements ISecureRandom {
$randomString = '';
while($length > 0) {
- $randomNumber = random_int(0, $maxCharIndex);
+ $randomNumber = \random_int(0, $maxCharIndex);
$randomString .= $characters[$randomNumber];
$length--;
}