projects
/
acontent.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
22d80cb
)
fix indentation
author
Cindy Li
<cli@ocad.ca>
Fri, 20 Aug 2010 13:32:06 +0000
(13:32 -0000)
committer
Cindy Li
<cli@ocad.ca>
Fri, 20 Aug 2010 13:32:06 +0000
(13:32 -0000)
docs/home/ims/ims_import.php
patch
|
blob
|
history
diff --git
a/docs/home/ims/ims_import.php
b/docs/home/ims/ims_import.php
index
4d65a1c
..
9a66f19
100644
(file)
--- a/
docs/home/ims/ims_import.php
+++ b/
docs/home/ims/ims_import.php
@@
-1545,11
+1545,11
@@
if(is_array($all_package_base_path)){
if(strpos($all_package_base_path, 'http:/')===false){
if (@rename($import_path.$all_package_base_path, TR_CONTENT_DIR .$_course_id.'/'.$package_base_name) === false) {
if (!$msg->containsErrors()) {
if(strpos($all_package_base_path, 'http:/')===false){
if (@rename($import_path.$all_package_base_path, TR_CONTENT_DIR .$_course_id.'/'.$package_base_name) === false) {
if (!$msg->containsErrors()) {
-
if ($oauth_import) {
-
echo "error=".urlencode('Cannot move lesson directory into content directory');
-
} else {
-
$msg->addError('IMPORT_FAILED');
-
}
+ if ($oauth_import) {
+ echo "error=".urlencode('Cannot move lesson directory into content directory');
+ } else {
+ $msg->addError('IMPORT_FAILED');
+ }
}
}
}
}
}
}