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
ad283049
Commit
ad283049
authored
Feb 10, 2020
by
Bertrand Gorge
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed deprecated includes
parent
5290db29
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
14 deletions
+14
-14
qa-email-notifications-event.php
qa-email-notifications-event.php
+14
-14
No files found.
qa-email-notifications-event.php
View file @
ad283049
...
...
@@ -20,9 +20,9 @@ class qa_email_notifications_event {
function
process_event
(
$event
,
$userid
,
$handle
,
$cookieid
,
$params
)
{
if
(
$this
->
plugin_enabled_from_admin_panel
())
{
//proceed only if the plugin is enabled
require_once
QA_INCLUDE_DIR
.
'
qa-app-
emails.php'
;
require_once
QA_INCLUDE_DIR
.
'
qa-app-
format.php'
;
require_once
QA_INCLUDE_DIR
.
'
qa-util-
string.php'
;
require_once
QA_INCLUDE_DIR
.
'
app/
emails.php'
;
require_once
QA_INCLUDE_DIR
.
'
app/
format.php'
;
require_once
QA_INCLUDE_DIR
.
'
util/
string.php'
;
switch
(
$event
)
{
case
'q_post'
:
...
...
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