Skip to content

Cleanup ovh guzzle and includes#100

Open
rycks wants to merge 8 commits intoDoliCloud:masterfrom
rycks:cleanup_ovh_guzzle_and_includes
Open

Cleanup ovh guzzle and includes#100
rycks wants to merge 8 commits intoDoliCloud:masterfrom
rycks:cleanup_ovh_guzzle_and_includes

Conversation

@rycks
Copy link
Copy Markdown
Contributor

@rycks rycks commented Mar 31, 2026

As i do the same job for kimsufi and soyoustart modules, here is the full migration with remove depends on guzzle and other includes files. Now this module is only using dolibarr native geturl lib and consume ovh api directly

/(sorry but the prev PR was against a strange branch name with a 'ç' instead of a '_' char ...) /

$this->tabs = array('thirdparty:+tabSMS:SMS:ovh@ovh:$user->hasRight("ovh","send"):/ovh/sms_thirdparty.php?id=__ID__',
//'contact:+tabSMS:SMS:ovh@ovh:$user->hasRights("ovh","send"):/ovh/sms_contact.php?id=__ID__', // This is done from thirdparty tab
'member:+tabSMS:SMS:ovh@ovh:$user->hasRight("ovh","send"):/ovh/sms_member.php?id=__ID__');
$this->tabs = array('thirdparty:+tabSMS:SMS:ovh@ovh:! empty($user->rights->ovh->send):/ovh/sms_thirdparty.php?id=__ID__',
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why replacing the ->hasRight('ovh', ...) with the old deprecated syntax ->rights->ovh->... ?

@eldy eldy added the Discussion Further information is requested label Apr 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Discussion Further information is requested

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants