diff options
| author | Robert Treat | 2019-06-28 03:53:19 +0000 |
|---|---|---|
| committer | Robert Treat | 2019-06-28 03:53:19 +0000 |
| commit | 1ea83accae6229e6b63844d948ed144fe486fee0 (patch) | |
| tree | a74666522a74f673a3a97634b49df663f2952562 /classes/database/Postgres92.php | |
| parent | 1fca558b9fd30bb7398b103419a56bf9efce2794 (diff) | |
At last, the long awaited patch for php7 support.
This commit is focused strictly on the class/constructor changes. This has
primarily been tested on php 7.1 and postgres 11, with all tests passing though
there are some spurious warnings; I have fixes for them but will add them in
seperate commits.
Note that the code here is my own, but I did look at patches from
@gabrielhomsi and @w1ldzer0 for some sanity checking. Any bugs or missing
items are on me.
Diffstat (limited to 'classes/database/Postgres92.php')
| -rw-r--r-- | classes/database/Postgres92.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/classes/database/Postgres92.php b/classes/database/Postgres92.php index d20b188a..24621636 100644 --- a/classes/database/Postgres92.php +++ b/classes/database/Postgres92.php @@ -15,8 +15,8 @@ class Postgres92 extends Postgres93 { * Constructor * @param $conn The database connection */ - function Postgres92($conn) { - $this->Postgres($conn); + function __construct($conn) { + parent::__construct($conn); } // Help functions |
