Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
Q
q2a-email-notification
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
contest
pdp-intro
q2a-email-notification
Commits
2077b32c
Commit
2077b32c
authored
Feb 11, 2020
by
Bertrand Gorge
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed deprecated includes
Fixes #8
parent
ad283049
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
5 deletions
+4
-5
qa-email-notifications-event.php
qa-email-notifications-event.php
+4
-5
No files found.
qa-email-notifications-event.php
View file @
2077b32c
...
...
@@ -54,7 +54,7 @@ class qa_email_notifications_event {
function
qa_db_notificaton_emails_selectspec
(
$userid
,
$tags
,
$categoryid
)
{
if
(
$this
->
plugin_enabled_from_admin_panel
())
{
//proceed only if the plugin is enabled
require_once
QA_INCLUDE_DIR
.
'
qa-app-
updates.php'
;
require_once
QA_INCLUDE_DIR
.
'
app/
updates.php'
;
$source
=
''
;
$arguments
=
array
();
...
...
@@ -120,8 +120,8 @@ class qa_email_notifications_event {
if
(
$qa_notifications_suspended
>
0
)
return
false
;
require_once
QA_INCLUDE_DIR
.
'
qa-db-
selects.php'
;
require_once
QA_INCLUDE_DIR
.
'
qa-util-
string.php'
;
require_once
QA_INCLUDE_DIR
.
'
db/
selects.php'
;
require_once
QA_INCLUDE_DIR
.
'
util/
string.php'
;
$subs
[
'^site_title'
]
=
qa_opt
(
'site_title'
);
$subs
[
'^handle'
]
=
$handle
;
...
...
@@ -147,8 +147,7 @@ class qa_email_notifications_event {
return
qa_call_override
(
__FUNCTION__
,
$args
);
}
require_once
QA_INCLUDE_DIR
.
'qa-class.phpmailer.php'
;
require_once
QA_INCLUDE_DIR
.
'vendor/PHPMailer/PHPMailerAutoload.php'
;
$mailer
=
new
PHPMailer
();
$mailer
->
CharSet
=
'utf-8'
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment