Skip to content

Commit

Permalink
Move the deprecated.php file into the /functions folder and remove th…
Browse files Browse the repository at this point in the history
…e old /legacy folder.

git-svn-id: http://svn.locallylost.com/themes/hybrid-core/trunk@377 dba0f204-706d-4bc1-bc29-8b92e0485636
  • Loading branch information
greenshady committed Oct 14, 2010
1 parent 1823e75 commit a37ce62
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
4 changes: 2 additions & 2 deletions legacy/deprecated.php → functions/deprecated.php
Expand Up @@ -6,8 +6,8 @@
* child theme is using one of these, you should use the listed alternative or remove it from
* your child theme if necessary.
*
* @package Hybrid
* @subpackage Legacy
* @package HybridCore
* @subpackage Functions
*/

/**
Expand Down
5 changes: 1 addition & 4 deletions hybrid.php
Expand Up @@ -117,9 +117,6 @@ function constants() {
/* Sets the path to the core framework functions directory. */
define( 'HYBRID_FUNCTIONS', trailingslashit( HYBRID_DIR ) . 'functions' );

/* Sets the path to the core framework legacy directory. */
define( 'HYBRID_LEGACY', trailingslashit( HYBRID_DIR ) . 'legacy' );

/* Sets the path to the core framework images directory URI. */
define( 'HYBRID_IMAGES', trailingslashit( HYBRID_URI ) . 'images' );

Expand Down Expand Up @@ -178,7 +175,7 @@ function functions() {
require_if_theme_supports( 'hybrid-core-template-hierarchy', HYBRID_FUNCTIONS . '/template-hierarchy.php' );

/* Load the deprecated functions if supported. */
require_if_theme_supports( 'hybrid-core-deprecated', HYBRID_LEGACY . '/deprecated.php' );
require_if_theme_supports( 'hybrid-core-deprecated', HYBRID_FUNCTIONS . '/deprecated.php' );
}

/**
Expand Down

0 comments on commit a37ce62

Please sign in to comment.