Minor - flint fixes

pull/2757/head
Julio Montoya 7 years ago
parent 25647196c4
commit b3ecc0e09b
  1. 1
      main/document/document_slideshow.inc.php
  2. 2
      main/document/slideshow.php
  3. 3
      main/gradebook/lib/be/category.class.php
  4. 2
      main/inc/lib/usermanager.lib.php
  5. 1
      main/inc/local.inc.php
  6. 1
      main/install/configuration.dist.php

@ -1,7 +1,6 @@
<?php
/* For licensing terms, see /license.txt */
/**
* This is a plugin for the documents tool. It looks for .jpg, .jpeg, .gif, .png
* files (since these are the files that can be viewed in a browser) and creates

@ -403,7 +403,7 @@ if ($slide_id != 'all' && !empty($image_files_only)) {
list($width, $height) = getimagesize($image);
// Auto resize
if ($imageResize == 'resizing') {
?>
?>
<script>
var initial_width='<?php echo $width; ?>';
var initial_height='<?php echo $height; ?>';

@ -1158,6 +1158,7 @@ class Category implements GradebookItem
if ($cacheAvailable) {
$cacheDriver->save($key, null);
}
return null;
}
if ($cacheAvailable) {
@ -1171,6 +1172,7 @@ class Category implements GradebookItem
if ($cacheAvailable) {
$cacheDriver->save($key, null);
}
return null;
}
@ -1191,6 +1193,7 @@ class Category implements GradebookItem
if ($cacheAvailable) {
$cacheDriver->save($key, [$ressum, $weightsum]);
}
return [$ressum, $weightsum];
break;
}

@ -4632,7 +4632,7 @@ class UserManager
* Deletes a contact.
*
* @param bool $friend_id
* @param bool $real_removed true will delete ALL friends relationship
* @param bool $real_removed true will delete ALL friends relationship
* @param string $with_status_condition
*
* @author isaac flores paz <isaac.flores@dokeos.com>

@ -1358,7 +1358,6 @@ if ((isset($uidReset) && $uidReset) || $cidReset) {
$_course['real_id']
);
$priorityList = [];
if (!empty($courseSession)) {
foreach ($courseSession as $courseSessionItem) {

@ -1045,7 +1045,6 @@ VALUES (2, 13, 'session_courses_read_only_mode', 'Lock Course In Session', 1, 1,
// Improve speed when rendering gradebook student reports using Doctrine APCU cache
// $_configuration['gradebook_use_apcu_cache'] = true;
// ------ Custom DB changes (keep this at the end)
// Add user activation by confirmation email
// This option prevents the new user to login in the platform if your account is not confirmed via email

Loading…
Cancel
Save