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();
// Add event to the system log.
$user_id = api_get_user_id();
$category = $_GET['category'];
$installed = $plugin_obj->getInstalledPlugins();
Event::addEvent(
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
*/
//$_configuration['allow_compilatio_tool'] = false;
//$_configuration['compilatio_tool'] = [
// 'settings' => [
// 'key' => '',
// 'soap_url' => '',
// 'proxy_host' => '',
// 'proxy_port' => '',
// 'max_filesize' => '',
// 'transport_mode' => '',
// 'wget_uri' => '',
// 'wget_login' => '',
// 'wget_password' => '',
// ]
//];
/*$_configuration['compilatio_tool'] = [
'settings' => [
'key' => '',
'soap_url' => '',
'proxy_host' => '',
'proxy_port' => '',
'max_filesize' => '',
'transport_mode' => '',
'wget_uri' => '',
'wget_login' => '',
'wget_password' => '',
]
];*/
// Allow user to enter a LP item if it was validated in another session.
// $_configuration['validate_lp_prerequisite_from_other_session'] = false;

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

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

Loading…
Cancel
Save