removed some debug logs from emacs

git-svn-id: svn://ttmath.org/publicrep/winix/trunk@640 e52654a7-88a9-db11-a3e9-0013d4bc506e
This commit is contained in:
Tomasz Sowa 2010-08-14 17:07:13 +00:00
parent 7bfed62526
commit d9f2e91806
1 changed files with 0 additions and 16 deletions

View File

@ -106,8 +106,6 @@ void Emacs::PostFunEmacsModifyMountPoint(bool adding)
void Emacs::MakePost()
{
log << log1 << "1" << logend;
bool adding = !request->is_item;
bool edit_with_url = functions->ReadItem(request->item, Item::file);
@ -117,40 +115,26 @@ void Emacs::MakePost()
if( !PostEmacsCheckAbuse(adding) )
return;
log << log1 << "2" << logend;
if( adding )
{
log << log1 << "3" << logend;
request->is_item = true;
request->item.privileges = 0644; // !! tymczasowo, bedzie uzyte umask
request->status = system->AddFile(request->item);
}
else
{
log << log1 << "4" << logend;
// !! moze dodac metode EditFile w klasie functions?
// i ona wywola system->EditFile i poniszego updatera
log << request->item.id << logend;
request->status = system->EditFile(request->item, edit_with_url);
log << request->item.id << logend;
if( request->status == WINIX_ERR_OK )
TemplatesFunctions::pattern_cacher.UpdatePattern(request->item);
}
log << log1 << "5" << logend;
if( request->status == WINIX_ERR_OK )
{
log << log1 << "6" << logend;
PostFunEmacsModifyMountPoint(adding);
functions->CheckSpecialFile(request->item);
}