summaryrefslogtreecommitdiffstats
path: root/lib/tasks/deprecated.rake
diff options
context:
space:
mode:
authorMarius Balteanu <marius.balteanu@zitec.com>2023-11-26 14:07:17 +0000
committerMarius Balteanu <marius.balteanu@zitec.com>2023-11-26 14:07:17 +0000
commit8a1bff856f24ad268f4220137794688a71f2c688 (patch)
treeec4f66310f37cfad6dfaa7bbf384d216941d3303 /lib/tasks/deprecated.rake
parent10d667f6dd49dd15ff967843b27d90d7b3c3b268 (diff)
downloadredmine-8a1bff856f24ad268f4220137794688a71f2c688.tar.gz
redmine-8a1bff856f24ad268f4220137794688a71f2c688.zip
Add missing copyrights (#37730).
Patch by Karel Pičman. git-svn-id: https://svn.redmine.org/redmine/trunk@22482 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'lib/tasks/deprecated.rake')
-rw-r--r--lib/tasks/deprecated.rake17
1 files changed, 17 insertions, 0 deletions
diff --git a/lib/tasks/deprecated.rake b/lib/tasks/deprecated.rake
index c62579d0a..b4b21059c 100644
--- a/lib/tasks/deprecated.rake
+++ b/lib/tasks/deprecated.rake
@@ -1,3 +1,20 @@
+# Redmine - project management software
+# Copyright (C) 2006-2023 Jean-Philippe Lang
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License
+# as published by the Free Software Foundation; either version 2
+# of the License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+
def deprecated_task(name, new_name)
task name=>new_name do
$stderr.puts "\nNote: The rake task #{name} has been deprecated, please use the replacement version #{new_name}"