Commit fbb137d9 authored by Leigh Stoller's avatar Leigh Stoller

Minor cleanup.

parent 647458b0
......@@ -63,7 +63,7 @@ function Do_CloneStatus()
}
$instance = Instance::Lookup($webtask->TaskValue("cloning_instance"));
if (!$instance) {
SPITAJAX_ERROR(1, "The cloned experiment is no where");
SPITAJAX_ERROR(1, "The cloned experiment is not here anymore");
return 1;
}
$instance_webtask = $instance->WebTask();
......@@ -218,10 +218,10 @@ function Do_DeleteProfile()
$profile = Profile::Lookup($profile->profileid());
if (!$profile) {
#
# Go back to myprofiles page instead. Happens when last version
# Go back to profiles page instead. Happens when last version
# is deleted.
#
SPITAJAX_RESPONSE("myprofiles.php");
SPITAJAX_RESPONSE("user-dashboard.php#profiles");
return;
}
$uuid = $profile->uuid();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment