Skip to content

Instantly share code, notes, and snippets.

@sevein
Created November 7, 2011 20:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sevein/1346056 to your computer and use it in GitHub Desktop.
Save sevein/1346056 to your computer and use it in GitHub Desktop.
Accession plugin as an optional plugin
Index: config/ProjectConfiguration.class.php
===================================================================
--- config/ProjectConfiguration.class.php (revision 10255)
+++ config/ProjectConfiguration.class.php (working copy)
@@ -26,7 +26,6 @@
{
$this->enablePlugins(array(
'qbAclPlugin',
- 'qtAccessionPlugin',
'sfAuditPlugin',
'sfDrupalPlugin',
'sfFormExtraPlugin',
Index: plugins/qtAccessionPlugin/config/qtAccessionPluginConfiguration.class.php
===================================================================
--- plugins/qtAccessionPlugin/config/qtAccessionPluginConfiguration.class.php (revision 0)
+++ plugins/qtAccessionPlugin/config/qtAccessionPluginConfiguration.class.php (revision 0)
@@ -0,0 +1,30 @@
+<?php
+
+/*
+ * This file is part of Qubit Toolkit.
+ *
+ * Qubit Toolkit 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.
+ *
+ * Qubit Toolkit 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 Qubit Toolkit. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+class qtAccessionPluginConfiguration extends sfPluginConfiguration
+{
+ public static
+ $summary = 'Accession plugin.',
+ $version = '1.0.0';
+
+ public function initialize()
+ {
+
+ }
+}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment