Skip to content
This repository has been archived by the owner on May 6, 2024. It is now read-only.

Commit

Permalink
Merge branch 'master' into rc/2.5.0
Browse files Browse the repository at this point in the history
# Conflicts:
#	Source/edX-Info.plist
  • Loading branch information
mikekatz committed Jun 13, 2016
2 parents 36603be + 800054c commit a010986
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 7 deletions.
2 changes: 1 addition & 1 deletion Source/CourseOutline.swift
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ public struct CourseOutline {
// Inline discussion is in progress feature. Will remove this code when it's ready to ship
type = .Unknown(typeName)

if OEXConfig.sharedConfig().inlineDiscussionsEnabled {
if OEXConfig.sharedConfig().discussionsEnabled {
let bodyData = body[Fields.StudentViewData].object as? NSDictionary
let discussionModel = DiscussionModel(dictionary: bodyData ?? [:])
type = .Discussion(discussionModel)
Expand Down
5 changes: 0 additions & 5 deletions Source/OEXConfig+AppFeatures.swift
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,4 @@ extension OEXConfig {
var badgesEnabled : Bool {
return boolForKey("BADGES_ENABLED")
}

var inlineDiscussionsEnabled : Bool {
return boolForKey("INLINE_DISCUSSIONS")
}

}
2 changes: 1 addition & 1 deletion Source/edX-Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
</dict>
</array>
<key>CFBundleVersion</key>
<string>2.5.1</string>
<string>2.5.2</string>
<key>FacebookDisplayName</key>
<string>edX</string>
<key>ITSAppUsesNonExemptEncryption</key>
Expand Down

0 comments on commit a010986

Please sign in to comment.