Skip to content
This repository has been archived by the owner on Dec 13, 2022. It is now read-only.

fix(knowledgebase): fix compatibility with MW1.30 #6361

Merged

Conversation

victorvassilev
Copy link
Contributor

Apply new API rules and add compatibility downwards to 1.27

Resolves: CP7M-63

Apply new API rules and add compatibility downwards to 1.27

Resolves: CP7M-63
curl_setopt($curl, CURLOPT_URL, $this->url);
curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);
curl_setopt($curl, CURLOPT_POST, true);
curl_setopt($curl, CURLOPT_COOKIEFILE, $cookiefile);
Copy link
Contributor

Choose a reason for hiding this comment

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

can you add an expiration time using for example CURLOPT_CONNECTTIMEOUT

Copy link
Contributor Author

Choose a reason for hiding this comment

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

added removal of cookies as agreed

Copy link
Contributor

Choose a reason for hiding this comment

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

thanks

@victorvassilev victorvassilev merged commit e769a8f into php7-migration Jun 8, 2018
@victorvassilev victorvassilev deleted the CP7M63-upgrade-mediawiki-compatibility branch June 8, 2018 13:30
kduret pushed a commit that referenced this pull request Jun 20, 2018
* fix(knowledgebase): fix compatibility with MW1.30

Apply new API rules and add compatibility downwards to 1.27

Resolves: CP7M-63

* refactor(knowledgebase): remove cookies after curl call
kduret pushed a commit that referenced this pull request Jun 20, 2018
* fix(knowledgebase): fix compatibility with MW1.30

Apply new API rules and add compatibility downwards to 1.27

Resolves: CP7M-63

* refactor(knowledgebase): remove cookies after curl call
kduret pushed a commit that referenced this pull request Jun 20, 2018
* fix(knowledgebase): fix compatibility with MW1.30

Apply new API rules and add compatibility downwards to 1.27

Resolves: CP7M-63

* refactor(knowledgebase): remove cookies after curl call
kduret pushed a commit that referenced this pull request Jun 20, 2018
* fix(knowledgebase): fix compatibility with MW1.30

Apply new API rules and add compatibility downwards to 1.27

Resolves: CP7M-63

* refactor(knowledgebase): remove cookies after curl call
kduret pushed a commit that referenced this pull request Jun 20, 2018
* fix(knowledgebase): fix compatibility with MW1.30

Apply new API rules and add compatibility downwards to 1.27

Resolves: CP7M-63

* refactor(knowledgebase): remove cookies after curl call
kduret pushed a commit that referenced this pull request Jun 20, 2018
* fix(knowledgebase): fix compatibility with MW1.30

Apply new API rules and add compatibility downwards to 1.27

Resolves: CP7M-63

* refactor(knowledgebase): remove cookies after curl call
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants