Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Removed old code

  • Loading branch information...
commit d0fc1896283d00729fa97363d1ea8820ddf3babf 1 parent 0e278fd
@oncletom authored
Showing with 0 additions and 49 deletions.
  1. +0 −49 lib/Configuration.class.php
View
49 lib/Configuration.class.php
@@ -12,12 +12,6 @@ class WPLessConfiguration extends WPPluginToolkitConfiguration
*/
const VERSION = '1.5-dev';
- /**
- * @protected
- * @see http://leafo.net/lessphp/docs/index.html#custom_functions
- */
- protected $functions = array();
-
/**
* @protected
* @deprecated
@@ -33,41 +27,9 @@ protected function configure()
protected function configureOptions()
{
- $this->setVariables(array());
$this->alwaysRecompile((defined('WP_DEBUG') && WP_DEBUG) || (defined('WP_LESS_ALWAYS_RECOMPILE') && WP_LESS_ALWAYS_RECOMPILE));
}
- /**
- * Set global Less variables
- *
- * @since 1.4
- */
- public function addVariable($name, $value)
- {
- $this->variables[$name] = $value;
- }
-
- /**
- * Returns the registered variables
- *
- * @since 1.4
- * @return array
- */
- public function getVariables()
- {
- return $this->variables;
- }
-
- /**
- * Set global Less variables
- *
- * @since 1.4
- */
- public function setVariables(array $variables)
- {
- $this->variables = $variables;
- }
-
/**
* Set compilation strategy
*
@@ -83,15 +45,4 @@ public function alwaysRecompile($bFlag = null)
return $this->alwaysRecompile;
}
-
- /**
- * Return LESS functions
- *
- * @since 1.4.2
- * @return array
- */
- public function getFunctions()
- {
- return $this->functions;
- }
}
Please sign in to comment.
Something went wrong with that request. Please try again.