aboutsummaryrefslogtreecommitdiffstats
path: root/egyéb/nextcloud/mayor-nextcloud.php
diff options
context:
space:
mode:
authorM.Gergo2020-03-26 03:09:10 +0100
committerM.Gergo2020-03-26 03:09:10 +0100
commit3e8379bca33e25e81dded48afe1d3b6f3ffe44ac (patch)
tree18d834064fa1e45fe652593044f487e2ae2e26bb /egyéb/nextcloud/mayor-nextcloud.php
parentff3a100975b80c7a69668815ba5c75413861f1ee (diff)
downloadmayor-3e8379bca33e25e81dded48afe1d3b6f3ffe44ac.tar.gz
mayor-3e8379bca33e25e81dded48afe1d3b6f3ffe44ac.zip
Mayor-Nextcloud script: quota
Diffstat (limited to 'egyéb/nextcloud/mayor-nextcloud.php')
-rw-r--r--egyéb/nextcloud/mayor-nextcloud.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/egyéb/nextcloud/mayor-nextcloud.php b/egyéb/nextcloud/mayor-nextcloud.php
index 6be31e55..7daabd95 100644
--- a/egyéb/nextcloud/mayor-nextcloud.php
+++ b/egyéb/nextcloud/mayor-nextcloud.php
@@ -375,12 +375,12 @@ if (function_exists('mysqli_connect') and PHP_MAJOR_VERSION >= 7) { //MySQLi (Im
function add_param_to_user($list, $user, $paramname, $param){ //Naplón kívüli csoportokat adhatunk a felhasználókhoz
foreach($list as $key => $val){ // Csak rendezett tömbökön!
if($user === null or ($user !== null && $val['userAccount'] == $user )){ //Vagy mindenki vagy adott user + rendezett lista
-
+
$list[$key][$paramname] = $param; // A paraméter
}
}
return $list;
- }
+ }
function mayor_userlistcmp($a, $b){
return strcmp($a['userAccount'], $b['userAccount']);