summaryrefslogtreecommitdiffstats
path: root/wp-content/mu-plugins
diff options
context:
space:
mode:
authordonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2006-09-18 15:33:35 +0000
committerdonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2006-09-18 15:33:35 +0000
commitf8591c741fa057e891813e7d7c604b02e7dc56c2 (patch)
tree70d9558f941886204b1b1a70a522f011c0a5d827 /wp-content/mu-plugins
parentfa6853a04c72e7b6970daf7d4241571626e4cfc7 (diff)
downloadwordpress-mu-f8591c741fa057e891813e7d7c604b02e7dc56c2.tar.gz
wordpress-mu-f8591c741fa057e891813e7d7c604b02e7dc56c2.tar.xz
wordpress-mu-f8591c741fa057e891813e7d7c604b02e7dc56c2.zip
no need for "pages_last_updated" any more
git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@759 7be80a69-a1ef-0310-a953-fb0f7c49ff36
Diffstat (limited to 'wp-content/mu-plugins')
-rw-r--r--wp-content/mu-plugins/misc.php15
1 files changed, 0 insertions, 15 deletions
diff --git a/wp-content/mu-plugins/misc.php b/wp-content/mu-plugins/misc.php
index 18de419..c65f02e 100644
--- a/wp-content/mu-plugins/misc.php
+++ b/wp-content/mu-plugins/misc.php
@@ -120,21 +120,6 @@ function update_posts_count( $post_id ) {
}
add_action( "publish_post", "update_posts_count" );
-function update_pages_last_updated( $post_id ) {
- global $wpdb;
- $post_id = intval( $post_id );
- if( $wpdb->get_var( "SELECT post_type FROM {$wpdb->posts} WHERE post_status = 'publish' and ID = '$post_id'" ) == 'page' )
- update_option( "pages_last_updated", time() );
-}
-add_action( "save_post", "update_pages_last_updated" );
-add_action( "comment_post", "update_pages_last_updated" );
-add_action( "publish_post", "update_pages_last_updated" );
-add_action('delete_post', 'update_pages_last_updated');
-add_action('delete_comment', 'update_pages_last_updated');
-add_action('private_to_published', 'update_pages_last_updated');
-add_action('trackback_post', 'update_pages_last_updated');
-add_action('wp_set_comment_status', 'update_pages_last_updated');
-
function wpmu_log_new_registrations( $blog_id, $user_id ) {
global $wpdb;
$user = new WP_User($user_id);