remove unused changes

This commit is contained in:
Quatadah Nasdami 2022-07-27 00:35:05 +02:00
parent 2674d2e8a2
commit 376b0d85d9
2 changed files with 2 additions and 2 deletions

View File

@ -10357,7 +10357,7 @@ function dolGetStatus($statusLabel = '', $statusLabelShort = '', $html = '', $st
* 'action-btn-label' => '', // Overide label of action button, if empty default label use "Confirm" lang key
* 'cancel-btn-label' => '', // Overide label of cancel button, if empty default label use "CloseDialog" lang key
* 'content' => '', // Overide text of content, if empty default content use "ConfirmBtnCommonContent" lang key
* 'modal' => true, // true|false to display dialog as a modal (with dark background)
* 'modal' => true, // true|false to display dialog as a modal (with dark background)
* ],
* ]
* // phpcs:enable

View File

@ -1316,7 +1316,7 @@ if ($action == 'create' && $user->rights->projet->creer) {
}
}
// Add button to create objects from projects
// Add button to create objects from project
if (!empty($conf->global->PROJECT_SHOW_CREATE_OBJECT_BUTTON)) {
if (!empty($conf->propal->enabled) && $user->rights->propal->creer) {
$langs->load("propal");