Minor - format code

webservicelpcreate
Julio Montoya 5 years ago
parent e1de72c4e8
commit bef8a45901
  1. 1
      main/admin/settings.lib.php
  2. 26
      main/install/configuration.dist.php
  3. 10
      main/social/personal_data.php
  4. 3
      src/Chamilo/UserBundle/Repository/UserRepository.php

@ -227,7 +227,6 @@ function handlePlugins()
storePlugins(); storePlugins();
// Add event to the system log. // Add event to the system log.
$user_id = api_get_user_id(); $user_id = api_get_user_id();
$category = $_GET['category'];
$installed = $plugin_obj->getInstalledPlugins(); $installed = $plugin_obj->getInstalledPlugins();
Event::addEvent( Event::addEvent(
LOG_PLUGIN_CHANGE, LOG_PLUGIN_CHANGE,

@ -1286,19 +1286,19 @@ ALTER TABLE c_plagiarism_compilatio_docs CHANGE COLUMN id_doc document_id INT NO
requires extension "php-soap" sudo apt-get install php-soap requires extension "php-soap" sudo apt-get install php-soap
*/ */
//$_configuration['allow_compilatio_tool'] = false; //$_configuration['allow_compilatio_tool'] = false;
//$_configuration['compilatio_tool'] = [ /*$_configuration['compilatio_tool'] = [
// 'settings' => [ 'settings' => [
// 'key' => '', 'key' => '',
// 'soap_url' => '', 'soap_url' => '',
// 'proxy_host' => '', 'proxy_host' => '',
// 'proxy_port' => '', 'proxy_port' => '',
// 'max_filesize' => '', 'max_filesize' => '',
// 'transport_mode' => '', 'transport_mode' => '',
// 'wget_uri' => '', 'wget_uri' => '',
// 'wget_login' => '', 'wget_login' => '',
// 'wget_password' => '', 'wget_password' => '',
// ] ]
//]; ];*/
// Allow user to enter a LP item if it was validated in another session. // Allow user to enter a LP item if it was validated in another session.
// $_configuration['validate_lp_prerequisite_from_other_session'] = false; // $_configuration['validate_lp_prerequisite_from_other_session'] = false;

@ -1,17 +1,14 @@
<?php <?php
/* For licensing terms, see /license.txt */ /* For licensing terms, see /license.txt */
use Chamilo\CoreBundle\Entity\Repository\LegalRepository; use Chamilo\CoreBundle\Entity\Repository\LegalRepository;
/**
* @package chamilo.messages
*/
$cidReset = true; $cidReset = true;
require_once __DIR__.'/../inc/global.inc.php'; require_once __DIR__.'/../inc/global.inc.php';
api_set_more_memory_and_time_limits(); api_set_more_memory_and_time_limits();
api_block_anonymous_users(); api_block_anonymous_users();
if (api_get_configuration_value('disable_gdpr')) { if (api_get_configuration_value('disable_gdpr')) {
@ -154,7 +151,6 @@ switch ($action) {
$explanation = $form->getSubmitValue('explanation'); $explanation = $form->getSubmitValue('explanation');
UserManager::createDataPrivacyExtraFields(); UserManager::createDataPrivacyExtraFields();
UserManager::update_extra_field_value( UserManager::update_extra_field_value(
$userId, $userId,
'request_for_legal_agreement_consent_removal', 'request_for_legal_agreement_consent_removal',
@ -443,7 +439,9 @@ if (api_get_setting('allow_terms_conditions') === 'true') {
} }
if ($showWarningMessage) { if ($showWarningMessage) {
Display::addFlash(Display::return_message(get_lang('MoreDataAvailableInTheDatabaseButTrunkedForEfficiencyReasons'))); Display::addFlash(
Display::return_message(get_lang('MoreDataAvailableInTheDatabaseButTrunkedForEfficiencyReasons'))
);
} }
// Block Social Avatar // Block Social Avatar

@ -1,4 +1,5 @@
<?php <?php
/* For licensing terms, see /license.txt */ /* For licensing terms, see /license.txt */
namespace Chamilo\UserBundle\Repository; namespace Chamilo\UserBundle\Repository;
@ -59,8 +60,6 @@ use Symfony\Component\Serializer\Serializer;
* *
* All functions that query the database (selects) * All functions that query the database (selects)
* Functions should return query builders. * Functions should return query builders.
*
* @package Chamilo\UserBundle\Repository
*/ */
class UserRepository extends EntityRepository class UserRepository extends EntityRepository
{ {

Loading…
Cancel
Save