mirror of
https://github.com/kleeja-official/kleeja.git
synced 2025-12-16 21:19:41 +01:00
reformat ..
This commit is contained in:
5
ucp.php
5
ucp.php
@@ -381,10 +381,12 @@ switch (g('go'))
|
|||||||
if($nums_rows != 0)
|
if($nums_rows != 0)
|
||||||
{
|
{
|
||||||
$no_results = false;
|
$no_results = false;
|
||||||
|
|
||||||
if (!ip('submit_all_files')) // in delete all files we do not need any limit;
|
if (!ip('submit_all_files')) // in delete all files we do not need any limit;
|
||||||
{
|
{
|
||||||
$query['LIMIT'] = "$start, $perpage";
|
$query['LIMIT'] = "$start, $perpage";
|
||||||
}
|
}
|
||||||
|
|
||||||
is_array($plugin_run_result = Plugins::getInstance()->run('qr_select_files_in_fileuser', get_defined_vars())) ? extract($plugin_run_result) : null; //run hook
|
is_array($plugin_run_result = Plugins::getInstance()->run('qr_select_files_in_fileuser', get_defined_vars())) ? extract($plugin_run_result) : null; //run hook
|
||||||
|
|
||||||
$result = $SQL->build($query);
|
$result = $SQL->build($query);
|
||||||
@@ -463,6 +465,7 @@ switch (g('go'))
|
|||||||
if (ip('submit_all_files') && $user_himself)
|
if (ip('submit_all_files') && $user_himself)
|
||||||
{
|
{
|
||||||
is_array($plugin_run_result = Plugins::getInstance()->run('submit_in_all_fileuser', get_defined_vars())) ? extract($plugin_run_result) : null; //run hook
|
is_array($plugin_run_result = Plugins::getInstance()->run('submit_in_all_fileuser', get_defined_vars())) ? extract($plugin_run_result) : null; //run hook
|
||||||
|
|
||||||
//delete all files
|
//delete all files
|
||||||
foreach($arr as $row)
|
foreach($arr as $row)
|
||||||
{
|
{
|
||||||
@@ -486,9 +489,7 @@ switch (g('go'))
|
|||||||
}
|
}
|
||||||
|
|
||||||
$sizes += $r['size'];
|
$sizes += $r['size'];
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user