Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Extensions
CiviDiscount
Commits
57a0487c
Commit
57a0487c
authored
Sep 30, 2013
by
lobo
Browse files
CRM-13355 - add support to set discounts on non-public events
parent
b035e29e
Changes
2
Hide whitespace changes
Inline
Side-by-side
CDM/Utils.php
View file @
57a0487c
...
...
@@ -37,8 +37,12 @@
class
CDM_Utils
{
static
function
getEvents
()
{
// lets include all events instead of only public events
// quite a few folks want this!
require_once
'CRM/Event/BAO/Event.php'
;
$eventInfo
=
CRM_Event_BAO_Event
::
getCompleteInfo
();
$eventInfo
=
CRM_Event_BAO_Event
::
getCompleteInfo
(
NULL
,
NULL
,
NULL
,
NULL
,
FALSE
);
if
(
!
empty
(
$eventInfo
))
{
$events
=
array
();
foreach
(
$eventInfo
as
$info
)
{
...
...
info.xml
View file @
57a0487c
...
...
@@ -4,7 +4,7 @@ https://github.com/dlobo/org.civicrm.module.cividiscount/zipball/v2.2
</downloadUrl>
<file>
cividiscount
</file>
<name>
CiviDiscount Module Extension
</name>
<description>
This module requires PHP v5.3+ and Civi v4.3+
</description>
<description>
This module requires PHP v5.3+ and Civi v4.3
.7
+
</description>
<urls>
<url
desc=
"Main Extension Page"
>
http://civicrm.org/extension/cividiscount-extension
...
...
Write
Preview
Supports
Markdown
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