Skip to content

Fixed problems with newer PHP and ttrss versions#35

Closed
timholl wants to merge 2 commits intodasmurphy:masterfrom
timholl:master
Closed

Fixed problems with newer PHP and ttrss versions#35
timholl wants to merge 2 commits intodasmurphy:masterfrom
timholl:master

Conversation

@timholl
Copy link
Copy Markdown

@timholl timholl commented Mar 21, 2020

Problem 1

Two fixes, a missing self::s (will not work in current PHP versions) and a missing Article:: (the latter is also addressed in two other (rather stale) pull requests, A, B.)

Problem 2

Since some refactoring in ttrss the mother Handler class lost its dbh (database handle) property, which is used excessively by this plugin. Re-added the property locally in the FeverAPI class and added initialization in the constructor.

Note: this is a minimal-invasive workaround for refactoring the whole plugin to use a proper database connection. Since that, ttrss core will throw deprecation notices (PHP Notice: Legacy connect requested to mysql in /var/www/html/classes/db.php on line 22), like hell.

@timholl
Copy link
Copy Markdown
Author

timholl commented Mar 21, 2020

Didn't notice the repository change, nevermind.

@timholl timholl closed this Mar 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant