Remove unused method Session::delete_template
authorTim Mayberry <mojofunk@gmail.com>
Sun, 17 Jun 2007 00:53:18 +0000 (00:53 +0000)
committerTim Mayberry <mojofunk@gmail.com>
Sun, 17 Jun 2007 00:53:18 +0000 (00:53 +0000)
git-svn-id: svn://localhost/ardour2/trunk@2020 d708f5d6-7413-0410-9779-e7cbd77b26cf

libs/ardour/ardour/session.h
libs/ardour/session_state.cc

index 8fc42466ed6218dff32dd35e52e050c17187ed10..87c1817622d9282a97ec2d91162a14bf968757a8 100644 (file)
@@ -425,8 +425,6 @@ class Session : public PBD::StatefulDestructible
         int restore_history (string snapshot_name);
        void remove_state (string snapshot_name);
        void rename_state (string old_name, string new_name);
-
-       static int delete_template (string name);
        
        sigc::signal<void,string> StateSaved;
        sigc::signal<void> StateReady;
index 289447f65f49d74e3514663526ac4e690b352b7a..0fe68b18313acc658b6dc2c212d5decbac56415c 100644 (file)
@@ -1619,16 +1619,6 @@ Session::save_template (string template_name)
        return 0;
 }
 
-int
-Session::delete_template (string name) 
-{
-       string template_path = template_dir();
-       template_path += name;
-       template_path += template_suffix;
-
-       return remove (template_path.c_str());
-}
-
 void
 Session::refresh_disk_space ()
 {