Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
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
edx
edx-platform
Commits
040abfcc
Commit
040abfcc
authored
Dec 17, 2012
by
Calen Pennington
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Don't call update_metadata anymore when updating course tabs, because the updates are implicit
parent
d11a9b1d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
1 deletions
+0
-1
common/lib/xmodule/xmodule/modulestore/mongo.py
+0
-1
No files found.
common/lib/xmodule/xmodule/modulestore/mongo.py
View file @
040abfcc
...
@@ -380,7 +380,6 @@ class MongoModuleStore(ModuleStoreBase):
...
@@ -380,7 +380,6 @@ class MongoModuleStore(ModuleStoreBase):
tab
[
'name'
]
=
metadata
.
get
(
'display_name'
)
tab
[
'name'
]
=
metadata
.
get
(
'display_name'
)
break
break
course
.
tabs
=
existing_tabs
course
.
tabs
=
existing_tabs
self
.
update_metadata
(
course
.
location
,
course
.
metadata
)
self
.
_update_single_item
(
location
,
{
'metadata'
:
metadata
})
self
.
_update_single_item
(
location
,
{
'metadata'
:
metadata
})
...
...
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